presetter-preset-rollup/templates/scripts.yaml

6 lines
353 B
YAML
Raw Normal View History

# 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
build:rollup: rollup --config rollup.config.ts --configPlugin rollup-plugin-ts
develop: cross-env NODE_ENV=development run-s "build:rollup -- --watch {@}" --