html-replace-webpack-plugin
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -41,7 +41,7 @@ function HtmlReplaceWebpackPlugin(options) { | ||
compiler.hooks.compilation.tap('HtmlReplaceWebpackPlugin', compilation => { | ||
compilation.hooks.htmlWebpackPluginBeforeHtmlProcessing.tapAsync('html-webpack-plugin-before-html-processing', this.replace) | ||
compilation.hooks.htmlWebpackPluginAfterHtmlProcessing.tapAsync('html-webpack-plugin-after-html-processing', this.replace) | ||
}) | ||
} else { | ||
compiler.plugin('compilation', compilation => { | ||
compilation.plugin('html-webpack-plugin-before-html-processing', this.replace) | ||
compilation.plugin('html-webpack-plugin-after-html-processing', this.replace) | ||
}) | ||
@@ -48,0 +48,0 @@ } |
{ | ||
"name": "html-replace-webpack-plugin", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "A Webpack plugin for replace HTML contents with custom pattern string or regex.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7452