Skip to content

Commit 5d7dc55

Browse files
committed
update rollup config - fix deprecated syntax
1 parent 017e6cb commit 5d7dc55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rollup.config.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ export default [
6262
input: ['src/cli/index.ts'],
6363
output: {
6464
dir: 'cli',
65-
format: 'cjs'
65+
format: 'cjs',
66+
paths: {
67+
svelte: '../compiler/svelte.js'
68+
}
6669
},
6770
external: ['fs', 'path', 'os', 'svelte'],
68-
paths: {
69-
svelte: '../compiler/svelte.js'
70-
},
7171
plugins: [
7272
json(),
7373
commonjs(),

0 commit comments

Comments
 (0)