Closed
Description
This maybe a more of a question then a bug. I have this:
const externalCSS = new ExtractTextPlugin({
filename: 'main_external.css'
});
const internalCSS = new ExtractTextPlugin({
filename: 'main_internal.css'
})
// other codes...
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false
}
}),
new HtmlWebpackPlugin({
template: path.join(__dirname, '../views/main.ejs'),
filename: path.join(__dirname, '../public/main.html'),
}),
externalCSS,
internalCSS,
new StyleExtHtmlWebpackPlugin('main_external.css'),
new CopyWebpackPlugin([{
from: path.join(__dirname, '../app/main/src/resources'),
to: path.join(__dirname, '../public/res/')
}]
As far as I understand, once converting the link to style, it should remove the relevant link tag. But it is not doing that. It is still keeping the link that. It is not creating any main_external.css in the build folder.
Metadata
Metadata
Assignees
Labels
No labels