Skip to content

Commit 323087e

Browse files
committed
Make svelte/compiler external in standalone build
1 parent 86883ed commit 323087e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rollup.standalone.cjs.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default {
2020
Buffer: ['buffer', 'Buffer'],
2121
}),
2222
],
23-
external: ['prettier/standalone', 'svelte'],
23+
external: ['prettier/standalone', 'svelte/compiler'],
2424
output: {
2525
file: 'standalone.js',
2626
format: 'cjs',

rollup.standalone.esm.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default {
2222
Buffer: ['buffer', 'Buffer'],
2323
}),
2424
],
25-
external: ['prettier/esm/standalone', 'svelte'],
25+
external: ['prettier/esm/standalone', 'svelte/compiler'],
2626
output: {
2727
file: 'esm/standalone.mjs',
2828
format: 'esm',

0 commit comments

Comments
 (0)