Replies: 1 comment
-
|
Fixed it, the file that contained these imports and // comments was being imported by another file like: @import url('path/to/this/file.scss'), the key here was to remove url() and it worked just fine |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting this error with the css-loader apparently
Error: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
CssSyntaxError
....\bootstrap\scss\bootstrap.scss Unknown word
3 |
4 |
5 | // scss-docs-start import-stack
--| ^
when Importing bootstrap like:
@import '/node_modules/bootstrap/scss/bootstrap.scss';or try to add any comment (//) in any of my files, seems like /* */ is fine though.
This is my package.json

And this is my webpack.config.js
What am I doing wrong?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions