Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Possibly a bug using options vs query.  #281

@amir20

Description

@amir20

Documentation suggests to use options to configure loaders but I had to use query.

ExtractTextPlugin.extract({
                fallbackLoader: 'style-loader',
                loader: [
                     {
                         loader: 'css-loader',
                         query: { importLoaders: 1}, // <--- should this be options? 
                     },
                     {
                         loader: 'postcss-loader',
                     }
                 ]
            })

This could be a bug. I couldn't figure out how to get css-loader configured with importLoaders otherwise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions