Clean dist folder before Build in Production
This commit is contained in:
@@ -27,8 +27,9 @@
|
||||
"docs-serve": "astro --config src/config/astro.config.mjs dev --open --port 3000",
|
||||
"assets": "node src/config/assets.config.mjs",
|
||||
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint docs-lint lockfile-lint",
|
||||
"clean": "rimraf dist",
|
||||
"compile": "npm-run-all docs-compile docs-format assets css js",
|
||||
"production": "npm-run-all lint compile",
|
||||
"production": "npm-run-all clean lint compile",
|
||||
"watch": "concurrently \"npm:watch-*\"",
|
||||
"watch-css-main": "nodemon --watch src/scss/ --ext scss --exec \"npm-run-all css-lint css-compile\"",
|
||||
"watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
|
||||
@@ -84,6 +85,7 @@
|
||||
"postcss-cli": "^11.0.0",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-astro": "^0.14.1",
|
||||
"rimraf": "^6.0.1",
|
||||
"rollup": "^4.21.0",
|
||||
"rtlcss": "^4.2.0",
|
||||
"sass": "^1.77.4",
|
||||
|
||||
Reference in New Issue
Block a user