File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2222 "build:binding" : " node-gyp build" ,
2323 "build:binding:debug" : " node-gyp build --coverage --debug --verbose" ,
2424 "build:bundle" : " node scripts/clean-dist.mjs && tsdown -c tsdown.config.ts" ,
25- "build:debug " : " cross-env SKIP_MINIFY =1 pnpm build:bundle" ,
25+ "build:bundle:minify " : " cross-env MINIFY =1 pnpm build:bundle" ,
2626 "check" : " pnpm type-check && pnpm lint" ,
2727 "clean" : " node-gyp clean" ,
2828 "coverage" : " tsx scripts/coverage/main.ts" ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const config: UserConfig = defineConfig({
1111 ] ,
1212 entry : './src/index.ts' ,
1313 format : [ 'es' , 'cjs' ] ,
14- minify : ! process . env . SKIP_MINIFY ,
14+ minify : Boolean ( process . env . MINIFY ) ,
1515 platform : 'node' ,
1616 plugins : [
1717 replace ( {
You can’t perform that action at this time.
0 commit comments