Skip to content

Commit

Permalink
Merge pull request #83 from bigbite/hotfix/dependency-extraction-window
Browse files Browse the repository at this point in the history
Fix issues where depencies would not extract correctly.
  • Loading branch information
ampersarnie authored Jul 4, 2023
2 parents aca5334 + 3b71765 commit 5b88cc9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/commands/build/plugins/custom/dependency-extraction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ class DependencyExtraction extends WordPressDependencyExtraction {
};
}

apply(compiler) {
this.externalsPlugin.apply(compiler);

compiler.hooks.emit.tap(this.constructor.name, (compilation) => this.addAssets(compilation));
}

externalizeWpDeps(_context, request, callback) {
return callback();
}

addAssets(compilation) {
const {
combineAssets,
Expand Down

0 comments on commit 5b88cc9

Please sign in to comment.