mirror of https://github.com/waku-org/js-waku.git
fix: fix tsc incremental build feature
dist folder is deleted automatically but not tsbuildinfo file so nothing is built as it is assumed already built by tsc.
This commit is contained in:
parent
cc73ac0908
commit
c3991a2987
|
@ -7,3 +7,5 @@ node_modules
|
|||
src/**.js
|
||||
coverage
|
||||
*.log
|
||||
/tsconfig.tsbuildinfo
|
||||
/tsconfig.dev.tsbuildinfo
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
],
|
||||
"scripts": {
|
||||
"prepare": "husky install",
|
||||
"build": "rimraf ./dist; run-s build:**",
|
||||
"build": "run-s build:**",
|
||||
"build:esm": "tsc && node build-scripts/fix-imports.js",
|
||||
"build:bundle": "rollup --config rollup.config.js -- dist/index.js",
|
||||
"build:bundle:min": "terser --ecma 11 --compress --mangle -o dist/bundle.min.js -- dist/bundle.js && gzip -9 -c dist/bundle.min.js > dist/bundle.min.js.gz",
|
||||
|
|
Loading…
Reference in New Issue