jantimon/html-webpack-plugin

Don't update static link file in template.html

Paladnix opened this issue · 1 comments

How to keep origin code not been updated?

There are some fixed css code and personal css code, link like this. BUT, it is been updated by plugin.

  <link rel="stylesheet" href="/static/plugins/prism/prism.css" type="text/css" />

You should can you webpackConfig.output.publicPath in template to use the valid public path, please read here https://github.com/jantimon/html-webpack-plugin#writing-your-own-templates, feel free to feedback