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
As webpack.config is not accessible, I'm having an obvious issue with my *.styl files:
Module parse failed: *.styl Unexpected character '@' (1:0) You may need an appropriate loader to handle this file type.
Module parse failed: *.styl Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type.
I need to include the following syntax in my webpack.config file:
module: { loaders: [ { test: /\.styl$/, include: path.join(__dirname, 'src'), loader: 'style-loader!css-loader!stylus-loader' } ] }
module: {
loaders: [
{
test: /\.styl$/,
include: path.join(__dirname, 'src'),
loader: 'style-loader!css-loader!stylus-loader'
}
]
How do I resolve this issue?
The text was updated successfully, but these errors were encountered:
Currently there is no built-in support for CSS preprocessors. If you want to use one, use its CLI to compile it down to CSS, and import that CSS.
Here is how to use stylus CLI: https://github.com/stylus/stylus#basic-usage
Sorry, something went wrong.
@gaearon Thanks, Dan! That worked a treat.
No branches or pull requests
As webpack.config is not accessible, I'm having an obvious issue with my *.styl files:
Module parse failed: *.styl Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type.
I need to include the following syntax in my webpack.config file:
module: {
loaders: [
{
test: /\.styl$/,
include: path.join(__dirname, 'src'),
loader: 'style-loader!css-loader!stylus-loader'
}
]
}
How do I resolve this issue?
The text was updated successfully, but these errors were encountered: