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
我用PurifyCssPlugin这个插件,这样写 new PurifyCssPlugin({ paths:glob.sync(path.join(__dirname,'../src/html/*.html')),//html模板的目录 }) 但是生成出来的css把引用了的样式也删除了
The text was updated successfully, but these errors were encountered:
引用的样式是指通过import引入的吗?是否已用postcss处理过? 把new ExtractTextPlugin 放在new PurifyCSSPlugin之前试一试
Sorry, something went wrong.
似乎PurifyCSSPlugin一定要配合ExtractTextPlugin 一起使用,我用MiniCssExtractPlugin不行
No branches or pull requests
我用PurifyCssPlugin这个插件,这样写
new PurifyCssPlugin({
paths:glob.sync(path.join(__dirname,'../src/html/*.html')),//html模板的目录
})
但是生成出来的css把引用了的样式也删除了
The text was updated successfully, but these errors were encountered: