We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. I keep having the issue when trying to do initial configuration on webpack, rather inlining in a JSX file.
I have the following on my webpack config to target on a specific path some scss files:
test: /\.scss$/, loaders: [ require.resolve('sass-extract-loader') ], include: paths.specificPath
and on the JSX:
import styles from './styles.scss' class Colors extends Component { render () { console.log(styles)
and I get the error:
./styles.scss Module build failed: /** ^ Invalid CSS after "module.exports": expected "{", was '= {"global":{"$pale' in styles.scss (line 1, column 15)
but if I use and ditch the webpack config:
import styles from 'sass-extract-loader!./styles.scss' class Colors extends Component { render () { console.log(styles)
it works! Any ideas? More info?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi.
I keep having the issue when trying to do initial configuration on webpack, rather inlining in a JSX file.
I have the following on my webpack config to target on a specific path some scss files:
and on the JSX:
and I get the error:
but if I use and ditch the webpack config:
it works!
Any ideas? More info?
The text was updated successfully, but these errors were encountered: