Skip to content
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

如何使sass/less 经postcss(autoprefixer)后 单独打包(extract-text-webpack-plugin)? #25

Closed
Her-ero opened this issue May 22, 2017 · 0 comments

Comments

@Her-ero
Copy link

Her-ero commented May 22, 2017

{
    test: /\.(scss|sass)$/,
    use: ExtractTextPlugin.extract({
        fallback: 'style-loader',
        use: [
            {
                loader: 'css-loader'
            },
            {
                loader: 'postcss-loader'
            }
            ,{
                loader: 'sass-loader'
            }
        ]

    })
}

以上为错误示范

@Her-ero Her-ero closed this as completed May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant