From 9b8e3b80ee6c11770f1098f1244914c77ace9408 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 3 Feb 2020 17:39:34 +0100 Subject: Remove rollup-typescript It seems like just calling typescript directly is simpler and more reliable? --- editors/code/package-lock.json | 10 ---------- editors/code/package.json | 3 +-- editors/code/rollup.config.js | 4 +--- 3 files changed, 2 insertions(+), 15 deletions(-) (limited to 'editors/code') diff --git a/editors/code/package-lock.json b/editors/code/package-lock.json index 261e36a02..353af06bf 100644 --- a/editors/code/package-lock.json +++ b/editors/code/package-lock.json @@ -61,16 +61,6 @@ } } }, - "@rollup/plugin-typescript": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-2.1.0.tgz", - "integrity": "sha512-7lXKGY06aofrceVez/YnN2axttFdHSqlUBpCJ6ebzDfxwLDKMgSV5lD4ykBcdgE7aK3egxuLkD/HKyRB5L8Log==", - "dev": true, - "requires": { - "@rollup/pluginutils": "^3.0.0", - "resolve": "^1.13.1" - } - }, "@rollup/pluginutils": { "version": "3.0.8", "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.0.8.tgz", diff --git a/editors/code/package.json b/editors/code/package.json index e4eae7b31..2d4a6f672 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -18,7 +18,7 @@ "vscode": "^1.41.0" }, "scripts": { - "vscode:prepublish": "rollup -c", + "vscode:prepublish": "tsc -p ./ && rollup -c", "package": "vsce package", "watch": "tsc -watch -p ./", "fmt": "tsfmt -r && tslint -c tslint.json 'src/**/*.ts' --fix" @@ -30,7 +30,6 @@ "devDependencies": { "@rollup/plugin-commonjs": "^11.0.2", "@rollup/plugin-node-resolve": "^7.1.1", - "@rollup/plugin-typescript": "^2.0.0", "@types/node": "^12.12.25", "@types/vscode": "^1.41.0", "rollup": "^1.31.0", diff --git a/editors/code/rollup.config.js b/editors/code/rollup.config.js index de6a3b2b7..f8d320f46 100644 --- a/editors/code/rollup.config.js +++ b/editors/code/rollup.config.js @@ -1,12 +1,10 @@ -import typescript from '@rollup/plugin-typescript'; import resolve from '@rollup/plugin-node-resolve'; import commonjs from '@rollup/plugin-commonjs'; import nodeBuiltins from 'builtin-modules'; export default { - input: 'src/main.ts', + input: 'out/main.js', plugins: [ - typescript(), resolve({ preferBuiltins: true }), -- cgit v1.2.3