File tree 3 files changed +3
-5
lines changed
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 66
66
"build:cjs" : " tsc -p tsconfig.cjs.json && echo \" {\" type\" : \" commonjs\" }\" > dist/cjs/package.json" ,
67
67
"build:esm" : " tsc -p tsconfig.esm.json" ,
68
68
"build:webpack" : " webpack --config webpack.prod.js && cp dist/sql-formatter.min.cjs dist/sql-formatter.min.js" ,
69
- "build" : " yarn grammar && npm-run-all --parallel build:cjs build:esm build:webpack" ,
69
+ "build" : " yarn grammar && rm -rf dist && npm-run-all --parallel build:cjs build:esm build:webpack" ,
70
70
"release" : " release-it"
71
71
},
72
72
"repository" : {
Original file line number Diff line number Diff line change 2
2
"extends" : " ./tsconfig.json" ,
3
3
"compilerOptions" : {
4
4
"outDir" : " dist/cjs" ,
5
- "module" : " CommonJS" ,
6
- "moduleResolution" : " NodeNext"
5
+ "module" : " CommonJS"
7
6
},
8
7
"include" : [" src" ]
9
8
}
Original file line number Diff line number Diff line change 2
2
"extends" : " ./tsconfig.json" ,
3
3
"compilerOptions" : {
4
4
"outDir" : " dist/esm" ,
5
- "module" : " NodeNext" ,
6
- "moduleResolution" : " NodeNext"
5
+ "module" : " NodeNext"
7
6
},
8
7
"include" : [" src" ]
9
8
}
You can’t perform that action at this time.
0 commit comments