Skip to content

Commit d9bafa3

Browse files
committed
using prettier in the bundle and passing the responsibility to use prettier/standalone to the developer
1 parent 977a284 commit d9bafa3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integration/test-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import prettier from 'prettier/standalone.js';
1+
import prettier from 'prettier';
22
import solidityPlugin from '../../dist/standalone.js';
33

44
export default async function format(code) {

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default (webpackEnv) => {
1313

1414
// Avoid bundling Prettier
1515
externals: {
16-
prettier: 'prettier/standalone',
16+
prettier: 'prettier',
1717
'fs/promises': 'fs/promises'
1818
},
1919

0 commit comments

Comments
 (0)