Fix dist script: point it at build:sass, not the removed build script
npm run dist called "npm run build", but that script had been renamed to "build:sass" without updating the reference, so dist errored out before ever running scripts/build-dist.js. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
11c72d1231
commit
375407245c
1 file changed
+2
-2
+2
-2
@@ -8,8 +8,8 @@
|
||||
"dev:php": "php -S localhost:8000",
|
||||
"dev:sass": "sass --watch --source-map src/scss/styles.scss:styles.css",
|
||||
"dev:browser": "browser-sync start --proxy http://localhost:8000 --files \"*.php,admin/**/*.php,inc/**/*.php,main.js,styles.css\" --no-open",
|
||||
"build": "sass --no-source-map src/scss/styles.scss:styles.css",
|
||||
"dist": "npm run build && node scripts/build-dist.js"
|
||||
"build:sass": "sass --no-source-map src/scss/styles.scss:styles.css",
|
||||
"dist": "npm run build:sass && node scripts/build-dist.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in new issue
Block a user