Add SCSS source maps
This commit is contained in:
parent
56bcbb8a0c
commit
6a94e9edf4
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ mkdir -p theme/static/src/scss/css
|
||||||
# scss can't import css, so copy them into src dir and change the extension!
|
# scss can't import css, so copy them into src dir and change the extension!
|
||||||
cp node_modules/animate.css/animate.css theme/static/src/scss/css/animate.scss
|
cp node_modules/animate.css/animate.css theme/static/src/scss/css/animate.scss
|
||||||
|
|
||||||
node-sass theme/static/src/scss/index.scss theme/static/build/css/index.css
|
node-sass theme/static/src/scss/index.scss theme/static/build/css/index.css --source-map-embed
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
rm -rf theme/static/src/scss/css
|
rm -rf theme/static/src/scss/css
|
||||||
|
|
Reference in a new issue