Skip to content

Commit 59450c8

Browse files
committed
Package step
1 parent 4309317 commit 59450c8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

esbuild.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ else if (process.argv.includes('--watch')) {
2929
ctx.watch();
3030
});
3131
}
32+
3233
// Regular build
3334
else {
3435
esbuild.buildSync(baseConfig);

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@
6464
}
6565
},
6666
"scripts": {
67-
"vscode:prepublish": "NODE_ENV=production npm run compile",
68-
"compile": "npm run lint && npm run typecheck && node esbuild.config.js",
67+
"vscode:prepublish": "NODE_ENV=production npm run bundle",
68+
"bundle": "npm run lint && npm run typecheck && node esbuild.config.js",
69+
"package": "vsce package",
6970
"watch": "node esbuild.config.js --watch",
7071
"typecheck": "tsc -p ./",
7172
"format": "prettier --write src/**/*.ts",

tsconfig.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{
22
"compilerOptions": {
3-
"module": "Node16",
3+
"module": "NodeNext",
44
"target": "ES2022",
5-
"outDir": "out",
65
"lib": [
76
"ES2022"
87
],
9-
"sourceMap": true,
108
"rootDir": "src",
119
"strict": true,
12-
"noEmitOnError": false
10+
"noEmit": true
1311
}
1412
}

0 commit comments

Comments
 (0)