presetter-preset-rollup/templates/scripts.yaml

6 lines
322 B
YAML

# replace the `prepare` template from presetter-preset
# so that the build procedure will not be triggered upon package installation
build: run-s clean build:rollup
build:rollup: cross-env NODE_ENV=production rollup --config rollup.config.ts --configPlugin rollup-plugin-ts
develop: run-s "build:rollup -- --watch {@}" --