Rename extension.ts -> main.ts

This commit is contained in:
Aleksey Kladov 2019-12-30 12:19:58 +01:00
parent 1f8719ee87
commit dc559dbe1c
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
**
!out/extension.js
!out/main.js
!package.json
!package-lock.json

View file

@ -43,7 +43,7 @@
"onCommand:rust-analyzer.collectGarbage",
"workspaceContains:**/Cargo.toml"
],
"main": "./out/extension",
"main": "./out/main",
"contributes": {
"taskDefinitions": [
{

View file

@ -4,7 +4,7 @@ import commonjs from '@rollup/plugin-commonjs';
import nodeBuiltins from 'builtin-modules';
export default {
input: 'src/extension.ts',
input: 'src/main.ts',
plugins: [
typescript(),
resolve({
@ -19,7 +19,7 @@ export default {
],
external: [...nodeBuiltins, 'vscode'],
output: {
file: './out/extension.js',
file: './out/main.js',
format: 'cjs'
}
};