assets-webpack-plugin
Advanced tools
Comparing version 6.0.6 to 6.1.0
@@ -8,7 +8,10 @@ # Change Log | ||
## 6.0.6 - 2020-11-13 | ||
## 6.1.0 - 2020-12-03 | ||
* Closes [#312](https://github.com/ztoben/assets-webpack-plugin/issues/312) | ||
## 6.0.6 - 2020-12-02 | ||
* Adds [#311](https://github.com/ztoben/assets-webpack-plugin/pull/311) | ||
* Fixes issue where default path would not be set | ||
## 6.0.5 - 2020-11-13 | ||
## 6.0.5 - 2020-12-01 | ||
* Adds [#310](https://github.com/ztoben/assets-webpack-plugin/pull/310) | ||
@@ -15,0 +18,0 @@ |
@@ -45,3 +45,3 @@ 'use strict'; | ||
var emit = function emit(compilation, callback) { | ||
var afterEmit = function afterEmit(compilation, callback) { | ||
var options = compiler.options; | ||
@@ -196,5 +196,5 @@ var stats = compilation.getStats().toJson({ | ||
compiler.hooks.emit.tapAsync(plugin, emit); | ||
compiler.hooks.afterEmit.tapAsync(plugin, afterEmit); | ||
} else { | ||
compiler.plugin('emit', emit); | ||
compiler.plugin('after-emit', afterEmit); | ||
} | ||
@@ -201,0 +201,0 @@ } |
@@ -43,3 +43,3 @@ const fs = require('fs') | ||
const emit = (compilation, callback) => { | ||
const afterEmit = (compilation, callback) => { | ||
const options = compiler.options | ||
@@ -194,5 +194,5 @@ const stats = compilation.getStats().toJson({ | ||
compiler.hooks.emit.tapAsync(plugin, emit) | ||
compiler.hooks.afterEmit.tapAsync(plugin, afterEmit) | ||
} else { | ||
compiler.plugin('emit', emit) | ||
compiler.plugin('after-emit', afterEmit) | ||
} | ||
@@ -199,0 +199,0 @@ } |
{ | ||
"name": "assets-webpack-plugin", | ||
"version": "6.0.6", | ||
"version": "6.1.0", | ||
"description": "Emits a json file with assets paths", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
42396