diff --git a/templates/scripts.yaml b/templates/scripts.yaml index 6a4bdc8..f8cd3ad 100644 --- a/templates/scripts.yaml +++ b/templates/scripts.yaml @@ -1,6 +1,6 @@ # replace the `prepare` template from presetter-preset # so that the build procedure will not be triggered upon package installation -build: cross-env NODE_ENV=production run-s clean build:rollup-config build:rollup build:typescript:* +build: cross-env NODE_ENV=production run-s clean build:typescript:* build:rollup-config build:rollup build:rollup-config: tsc -p tsconfig.config.json build:rollup: rollup --config rollup.config.js develop: cross-env NODE_ENV=development run-s "build:rollup -- --watch {@}" --