diff options
-rw-r--r-- | editors/code/rollup.config.js | 3 | ||||
-rw-r--r-- | editors/code/tsconfig.json | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/editors/code/rollup.config.js b/editors/code/rollup.config.js index 337385a24..2ca27694d 100644 --- a/editors/code/rollup.config.js +++ b/editors/code/rollup.config.js | |||
@@ -1,7 +1,10 @@ | |||
1 | // @ts-check | ||
2 | |||
1 | import resolve from '@rollup/plugin-node-resolve'; | 3 | import resolve from '@rollup/plugin-node-resolve'; |
2 | import commonjs from '@rollup/plugin-commonjs'; | 4 | import commonjs from '@rollup/plugin-commonjs'; |
3 | import nodeBuiltins from 'builtin-modules'; | 5 | import nodeBuiltins from 'builtin-modules'; |
4 | 6 | ||
7 | /** @type { import('rollup').RollupOptions } */ | ||
5 | export default { | 8 | export default { |
6 | input: 'out/main.js', | 9 | input: 'out/main.js', |
7 | plugins: [ | 10 | plugins: [ |
diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index 0c7702974..ad134865a 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "compilerOptions": { | 2 | "compilerOptions": { |
3 | "module": "commonjs", | 3 | "module": "commonjs", |
4 | "target": "es2018", | 4 | "target": "es2019", |
5 | "outDir": "out", | 5 | "outDir": "out", |
6 | "lib": [ | 6 | "lib": [ |
7 | "es2019" | 7 | "es2019" |