assets-webpack-plugin
Advanced tools
Comparing version 7.0.0 to 7.1.0
@@ -8,2 +8,5 @@ # Change Log | ||
## 7.1.0 - 2020-12-11 | ||
* Closes [#327](https://github.com/ztoben/assets-webpack-plugin/issues/327) | ||
## 7.0.0 - 2020-12-11 | ||
@@ -10,0 +13,0 @@ * Requires webpack 5 or greater as a peer dependency |
@@ -47,3 +47,3 @@ 'use strict'; | ||
var afterEmit = function afterEmit(compilation, callback) { | ||
var emitPlugin = function emitPlugin(compilation, callback) { | ||
var options = compiler.options; | ||
@@ -212,5 +212,5 @@ var stats = compilation.getStats().toJson({ | ||
compiler.hooks.afterEmit.tapAsync(plugin, afterEmit); | ||
compiler.hooks.emit.tapAsync(plugin, emitPlugin); | ||
} else { | ||
compiler.plugin('after-emit', afterEmit); | ||
compiler.plugin('after-emit', emitPlugin); | ||
} | ||
@@ -217,0 +217,0 @@ } |
@@ -45,3 +45,3 @@ const fs = require('fs') | ||
const afterEmit = (compilation, callback) => { | ||
const emitPlugin = (compilation, callback) => { | ||
const options = compiler.options | ||
@@ -210,5 +210,5 @@ const stats = compilation.getStats().toJson({ | ||
compiler.hooks.afterEmit.tapAsync(plugin, afterEmit) | ||
compiler.hooks.emit.tapAsync(plugin, emitPlugin) | ||
} else { | ||
compiler.plugin('after-emit', afterEmit) | ||
compiler.plugin('after-emit', emitPlugin) | ||
} | ||
@@ -215,0 +215,0 @@ } |
{ | ||
"name": "assets-webpack-plugin", | ||
"version": "7.0.0", | ||
"version": "7.1.0", | ||
"description": "Emits a json file with assets paths", | ||
@@ -40,6 +40,6 @@ "main": "dist/index.js", | ||
"babel-preset-env": "1.7.0", | ||
"chai": "4.2.0", | ||
"css-loader": "5.0.1", | ||
"mini-css-extract-plugin": "1.3.3", | ||
"mocha": "8.2.1", | ||
"chai": "4.3.4", | ||
"css-loader": "5.2.4", | ||
"mini-css-extract-plugin": "1.5.0", | ||
"mocha": "8.3.2", | ||
"rimraf": "3.0.2", | ||
@@ -49,3 +49,3 @@ "snazzy": "9.0.0", | ||
"style-loader": "2.0.0", | ||
"webpack": "5.10.0" | ||
"webpack": "5.35.0" | ||
}, | ||
@@ -52,0 +52,0 @@ "dependencies": { |
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
46270