Skip to content

Commit

Permalink
Version 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
almothafar committed Mar 22, 2018
1 parent be7ea66 commit 2f391fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ function InlineManifestPlugin(options) {
InlineManifestPlugin.prototype.apply = function (compiler) {
const me = this;

compiler.hooks.compilation.tap('inline-manifest-webpack-plugin', function (compilation) {
compilation.hooks.htmlWebpackPluginBeforeHtmlGeneration.tap('inline-manifest-webpack-plugin', function (htmlPluginData) {
const name = me.options.name
compiler.hooks.compilation.tap('webpack-inline-manifest-plugin', function (compilation) {
compilation.hooks.htmlWebpackPluginBeforeHtmlGeneration.tap('webpack-inline-manifest-plugin', function (htmlPluginData) {
const name = me.options.name;
// HtmlWebpackPlugin use the 'manifest' name as HTML5's app cache manifest
// so we can't use the same name
if (name === 'manifest') {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webpack-inline-manifest-plugin",
"version": "4.0.0",
"version": "4.0.1",
"description": "inline your Webpack manifest.js with a script tag to save http request",
"main": "index.js",
"scripts": {
Expand All @@ -25,7 +25,7 @@
"source-map-url": "0.4.0"
},
"devDependencies": {
"eslint": "^4.18.2",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1"
Expand Down

0 comments on commit 2f391fe

Please sign in to comment.