diff options
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/.vscodeignore | 2 | ||||
-rw-r--r-- | editors/code/package.json | 2 | ||||
-rw-r--r-- | editors/code/rollup.config.js | 4 | ||||
-rw-r--r-- | editors/code/src/main.ts (renamed from editors/code/src/extension.ts) | 0 |
4 files changed, 4 insertions, 4 deletions
diff --git a/editors/code/.vscodeignore b/editors/code/.vscodeignore index f2c4d3307..9bcd28e61 100644 --- a/editors/code/.vscodeignore +++ b/editors/code/.vscodeignore | |||
@@ -1,4 +1,4 @@ | |||
1 | ** | 1 | ** |
2 | !out/extension.js | 2 | !out/main.js |
3 | !package.json | 3 | !package.json |
4 | !package-lock.json | 4 | !package-lock.json |
diff --git a/editors/code/package.json b/editors/code/package.json index 8c480cc3f..d14a36f8c 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -43,7 +43,7 @@ | |||
43 | "onCommand:rust-analyzer.collectGarbage", | 43 | "onCommand:rust-analyzer.collectGarbage", |
44 | "workspaceContains:**/Cargo.toml" | 44 | "workspaceContains:**/Cargo.toml" |
45 | ], | 45 | ], |
46 | "main": "./out/extension", | 46 | "main": "./out/main", |
47 | "contributes": { | 47 | "contributes": { |
48 | "taskDefinitions": [ | 48 | "taskDefinitions": [ |
49 | { | 49 | { |
diff --git a/editors/code/rollup.config.js b/editors/code/rollup.config.js index e4b21afbd..4c001f899 100644 --- a/editors/code/rollup.config.js +++ b/editors/code/rollup.config.js | |||
@@ -4,7 +4,7 @@ import commonjs from '@rollup/plugin-commonjs'; | |||
4 | import nodeBuiltins from 'builtin-modules'; | 4 | import nodeBuiltins from 'builtin-modules'; |
5 | 5 | ||
6 | export default { | 6 | export default { |
7 | input: 'src/extension.ts', | 7 | input: 'src/main.ts', |
8 | plugins: [ | 8 | plugins: [ |
9 | typescript(), | 9 | typescript(), |
10 | resolve({ | 10 | resolve({ |
@@ -19,7 +19,7 @@ export default { | |||
19 | ], | 19 | ], |
20 | external: [...nodeBuiltins, 'vscode'], | 20 | external: [...nodeBuiltins, 'vscode'], |
21 | output: { | 21 | output: { |
22 | file: './out/extension.js', | 22 | file: './out/main.js', |
23 | format: 'cjs' | 23 | format: 'cjs' |
24 | } | 24 | } |
25 | }; | 25 | }; |
diff --git a/editors/code/src/extension.ts b/editors/code/src/main.ts index 1da10ebd0..1da10ebd0 100644 --- a/editors/code/src/extension.ts +++ b/editors/code/src/main.ts | |||