aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-19 10:26:00 +0000
committerGitHub <[email protected]>2020-03-19 10:26:00 +0000
commit13af63a40393c0e299d7db2545aee0aeb1a5c2bc (patch)
treea64b947cd100841d6ba35847376c4688b818d990 /editors/code
parent5b0a7c7d162c6c30b8fd52309f4473659d647452 (diff)
parent630888df5b95caddce3b2780c273b4814ae29ee7 (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.js3
-rw-r--r--editors/code/tsconfig.json2
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
1import resolve from '@rollup/plugin-node-resolve'; 3import resolve from '@rollup/plugin-node-resolve';
2import commonjs from '@rollup/plugin-commonjs'; 4import commonjs from '@rollup/plugin-commonjs';
3import nodeBuiltins from 'builtin-modules'; 5import nodeBuiltins from 'builtin-modules';
4 6
7/** @type { import('rollup').RollupOptions } */
5export default { 8export 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"