Skip to content

Commit 20c0c70

Browse files
committed
Rebuild node-sass before a build.
1 parent ea458d7 commit 20c0c70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"node-sass": "^9.0.0"
2323
},
2424
"scripts": {
25-
"full-build": "npm-run-all build css-rtl css-prefix",
25+
"full-build": "npm-run-all node-sass-build build css-rtl css-prefix",
26+
"node-sass-build": "npm rebuild node-sass",
2627
"build": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 etc -o target/bootstrap5-api/css",
2728
"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\"",
2829
"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\"",

0 commit comments

Comments
 (0)