mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-22 14:09:30 -07:00
feat(package.json): update dev, build, and server scripts to remove bundled js and css files before running rollup and hugo commands
This commit is contained in:
@@ -6,9 +6,9 @@
|
|||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint . --fix",
|
"lint": "eslint . --fix",
|
||||||
"dev": "rm ./static/js/*.js && run-p rollup:dev hugo:dev",
|
"dev": "rm ./static/bundled/js/* && run-p rollup:dev hugo:dev",
|
||||||
"build": "rm ./static/js/*.js && run-s rollup:build hugo:build",
|
"build": "rm ./static/bundled/js/* && run-s rollup:build hugo:build && cp ./exampleSite/public/css/* ./static/bundled/css",
|
||||||
"server": "rm ./static/js/*.js && run-p rollup:server hugo:server",
|
"server": "rm ./static/bundled/js/* && run-p rollup:server hugo:server",
|
||||||
"rollup:build": "rollup -c --environment BUILD:production",
|
"rollup:build": "rollup -c --environment BUILD:production",
|
||||||
"rollup:server": "rollup -c --watch --environment BUILD:production",
|
"rollup:server": "rollup -c --watch --environment BUILD:production",
|
||||||
"rollup:dev": "rollup -c --watch --environment BUILD:development",
|
"rollup:dev": "rollup -c --watch --environment BUILD:development",
|
||||||
|
|||||||
Reference in New Issue
Block a user