Skip to content

Commit

Permalink
Extensions: update webpack configuration to prevent plugin conflicts (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
creativecoder authored Jun 11, 2021
1 parent 90e30f2 commit 940152f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: bugfix

Updates the webpack configuration for extensions to prevent JS conflicts with other plugins
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ const extensionsWebpackConfig = getBaseWebpackConfig(
},
'output-chunk-filename': '[name].[chunkhash].js',
'output-path': path.join( path.dirname( __dirname ), '_inc', 'blocks' ),
'output-jsonp-function': 'webpackJsonpJetpack',
}
);

Expand Down

0 comments on commit 940152f

Please sign in to comment.