We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b2a839 + d31d0b5 commit 1c50069Copy full SHA for 1c50069
index.js
@@ -9,8 +9,8 @@ function ngAnnotatePlugin(options) {
9
ngAnnotatePlugin.prototype.apply = function apply(compiler) {
10
var options = this.options;
11
12
- compiler.plugin('compilation', function(compilation) {
13
- compilation.plugin('optimize-chunk-assets', function(chunks, callback) {
+ compiler.hooks.compilation.tap('NoAnnotateWebpackPlugin', function(compilation) {
+ compilation.hooks.optimizeChunkAssets.tapAsync('NoAnnotateWebpackPlugin', function(chunks, callback) {
14
var files = [];
15
16
function getFilesFromChunk(chunk) {
0 commit comments