Skip to content

Commit

Permalink
Rebuild node-sass before a build.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed May 31, 2023
1 parent ea458d7 commit 20c0c70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"node-sass": "^9.0.0"
},
"scripts": {
"full-build": "npm-run-all build css-rtl css-prefix",
"full-build": "npm-run-all node-sass-build build css-rtl css-prefix",
"node-sass-build": "npm rebuild node-sass",
"build": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 etc -o target/bootstrap5-api/css",
"css-rtl": "cross-env NODE_ENV=RTL postcss --config etc/postcss.config.js --dir \"target/bootstrap5-api/css\" --ext \".rtl.css\" \"target/bootstrap5-api/css/*.css\" \"!target/bootstrap5-api/css/*.min.css\" \"!target/bootstrap5-api/css/*.rtl.css\"",
"css-prefix": "postcss --config etc/postcss.config.js --replace \"target/bootstrap5-api/css/*.css\" \"!target/bootstrap5-api/css/*.rtl*.css\" \"!target/bootstrap5-api/css/*.min.css\"",
Expand Down

0 comments on commit 20c0c70

Please sign in to comment.