-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work for scss files #3
Comments
maybe try changing the order, since it expects CSS and not Sass:
|
same issue after doing the ordering you suggested:
|
This worked for me.... I copied the contents of cssimportant loader's index.js file into my project, added the {
test: /\.scss$/,
use: [
{
loader: 'style-loader',
options: {
transform: './css-transform.js'
}
},
{
loader: 'css-loader',
},
{
loader: 'sass-loader',
},
],
}, |
My configuration file is fine, it seems the order is important
|
Similar problem to #1 but the suggested solution doesn't work for me.
My project uses scss. In my webpack config, I've got:
Webpack fails to compile with this error:
It looks like it's trying to parse the scss and not the compiled css.
I even switched the order of
sass-loader
andcss-loader
but that didn't work either.Any suggestions?
The text was updated successfully, but these errors were encountered: