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
I what exclude bundle.js from this fragment
<script src="bundle.js"></script> <script type="text/javascript" src="bundle.js?5fc2c71bd09ffa7a3df9"></script>
this seems not working
plugins: [ new HtmlWebpackPlugin({ hash: true, template: './static/index.html', excludeAssets: [/bundle.js[^?]/] }), new HtmlWebpackExcludeAssetsPlugin(), ],
How can I do this ?
The text was updated successfully, but these errors were encountered:
I didn't test what I will say but the regex you provided doesn't match. Example
If you use /bundle.js.*/ as a regex then it will match the resource name. Example
/bundle.js.*/
Sorry, something went wrong.
No branches or pull requests
I what exclude bundle.js from this fragment
this seems not working
How can I do this ?
The text was updated successfully, but these errors were encountered: