diff options
author | Aleksey Kladov <[email protected]> | 2020-03-19 10:26:00 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-19 10:26:00 +0000 |
commit | 13af63a40393c0e299d7db2545aee0aeb1a5c2bc (patch) | |
tree | a64b947cd100841d6ba35847376c4688b818d990 /editors/code | |
parent | 5b0a7c7d162c6c30b8fd52309f4473659d647452 (diff) | |
parent | 630888df5b95caddce3b2780c273b4814ae29ee7 (diff) |
Merge pull request #3641 from darinmorrison/rollup-typescript
Some improvements to rollup and ts config
Diffstat (limited to 'editors/code')
-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" |