Skip to content

Commit

Permalink
Merge pull request #24 from pgiraud/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
jeffling authored Aug 21, 2018
2 parents cbfe426 + 69ac3dc commit e5f7cd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ function ngAnnotatePlugin(options) {
ngAnnotatePlugin.prototype.apply = function apply(compiler) {
var options = this.options;

compiler.hooks.compilation.tap('NoAnnotateWebpackPlugin', function(compilation) {
compilation.hooks.optimizeChunkAssets.tapAsync('NoAnnotateWebpackPlugin', function(chunks, callback) {
compiler.hooks.compilation.tap('NgAnnotateWebpackPlugin', function(compilation) {
compilation.hooks.optimizeChunkAssets.tapAsync('NgAnnotateWebpackPlugin', function(chunks, callback) {
var files = [];

function getFilesFromChunk(chunk) {
Expand Down

0 comments on commit e5f7cd4

Please sign in to comment.