Commit 9b12899
committed
package: add new npm scripts, use esbuild to minify
This adjusts the build scripts to add the new scripts required to build.
The new additions are:
- esbuild-base: the core esbuild command for bundling the extension
- esbuild-watch: the watch version used for development
- package: package only step
- dev-package: package the extension with the development version id
This updates the `vscode:prepublish` script to minify the extension
prior to building the extension package.
`createDevPackage` is left as a compatibility option, however, it does
not work on all platforms (i.e. Windows) due to the use of bash specific
scripting.1 parent b291886 commit 9b12899
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
0 commit comments