Skip to content

Commit

Permalink
fix(react): fix prettier cdn version
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Dec 6, 2021
1 parent 62a4af4 commit e6e0180
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface IPrettierModule {
}

const prettier: Promise<IPrettierModule> = new Function(
'return import("https://cdn.jsdelivr.net/npm/prettier@2.3.2/esm/standalone.mjs")'
'return import("https://cdn.jsdelivr.net/npm/prettier@2.x/esm/standalone.mjs")'
)()

export const format = async (language: string, source: string) => {
Expand Down

0 comments on commit e6e0180

Please sign in to comment.