Skip to content

Loader issue: Error in *.styl #459

Closed
@TheoMer

Description

@TheoMer

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions