mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-13 00:17:15 +00:00
Merge #3003
3003: Remove rollup-typescript r=matklad a=matklad It seems like just calling typescript directly is simpler and more reliable? @Veetaha what do you think about this approach? Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
b090ee5a65
3 changed files with 3 additions and 16 deletions
10
editors/code/package-lock.json
generated
10
editors/code/package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
"vscode": "^1.41.0"
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "rollup -c",
|
||||
"vscode:prepublish": "tsc && rollup -c",
|
||||
"package": "vsce package",
|
||||
"watch": "tsc -watch -p ./",
|
||||
"watch": "tsc --watch",
|
||||
"fmt": "tsfmt -r && tslint -c tslint.json 'src/**/*.ts' --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue