mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Rename extension.ts -> main.ts
This commit is contained in:
parent
1f8719ee87
commit
dc559dbe1c
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
**
|
||||
!out/extension.js
|
||||
!out/main.js
|
||||
!package.json
|
||||
!package-lock.json
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
"onCommand:rust-analyzer.collectGarbage",
|
||||
"workspaceContains:**/Cargo.toml"
|
||||
],
|
||||
"main": "./out/extension",
|
||||
"main": "./out/main",
|
||||
"contributes": {
|
||||
"taskDefinitions": [
|
||||
{
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue