8 lines
383 B
YAML
8 lines
383 B
YAML
|
|
||
|
# 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:typescript:* build:vite
|
||
|
build:vite: vite build && mv lib/*.cjs lib/index.js
|
||
|
develop: cross-env NODE_ENV=development run-s "vite:rollup -- --watch {@}" --
|
||
|
clean:buildOutput: shx rm -rf {source}
|