mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
committed by
Torkel Ödegaard
parent
da2822c88d
commit
a92d51731d
@@ -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);
|
||||
|
Reference in New Issue
Block a user