aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-30 11:19:58 +0000
committerAleksey Kladov <[email protected]>2019-12-30 11:29:33 +0000
commitdc559dbe1c22b7200bcb6e3cd84dc105a0381c19 (patch)
treedb88427edfea6a2dd702356ee5a8888fa20940aa /editors/code
parent1f8719ee876ab6fb8b29cdf018815b03e000f197 (diff)
Rename extension.ts -> main.ts
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/.vscodeignore2
-rw-r--r--editors/code/package.json2
-rw-r--r--editors/code/rollup.config.js4
-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';
4import nodeBuiltins from 'builtin-modules'; 4import nodeBuiltins from 'builtin-modules';
5 5
6export default { 6export 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