File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function bundle(format) {
3737 esbuildPluginReplaceModule ( { replacements : moduleReplacements } ) ,
3838 format === "esm" ? esbuildPluginAddDefaultExport ( ) : undefined ,
3939 format === "umd"
40- ? esbuildPluginUmd ( { name : "prettierPlugins.mdx2 " } )
40+ ? esbuildPluginUmd ( { name : "prettierPlugins.mdx1 " } )
4141 : undefined ,
4242 ] . filter ( Boolean ) ,
4343 legalComments : "none" ,
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ import fs, { promises as fsPromises } from "node:fs";
33import path from "node:path" ;
44import * as prettier from "prettier" ;
55import { test , expect } from "vitest" ;
6- import * as prettierPluginMdx2 from "../lib/index.js" ;
6+ import * as prettierPluginMdx1 from "../lib/index.js" ;
77import createSnapshot from "./utilities/create-snapshot.js" ;
88import stringifyOptionsForTitle from "./utilities/stringify-options-for-title.js" ;
99
1010async function format ( code , options ) {
1111 return prettier . format ( code , {
1212 parser : "mdx" ,
13- plugins : [ prettierPluginMdx2 ] ,
13+ plugins : [ prettierPluginMdx1 ] ,
1414 ...options ,
1515 } ) ;
1616}
You can’t perform that action at this time.
0 commit comments