Webpack tapable plugin deprecation (#12960)

* Remove unrequired extract-text-webpack-plugin

* Update ngAnnotate to avoid deprecation warning

* Avoid deprecation warning (Tapable.plugin -> hooks)
This commit is contained in:
Pierre GIRAUD
2018-08-20 11:55:29 +02:00
committed by Torkel Ödegaard
parent da2822c88d
commit a92d51731d
4 changed files with 5 additions and 16 deletions

View File

@@ -81,7 +81,7 @@ module.exports = merge(common, {
chunks: ['vendor', 'app'],
}),
function () {
this.plugin("done", function (stats) {
this.hooks.done.tap('Done', function (stats) {
if (stats.compilation.errors && stats.compilation.errors.length) {
console.log(stats.compilation.errors);
process.exit(1);