Customize webpack jsonpFunction to avoid collision (https://github.com/woocommerce/woocommerce-admin/pull/4644)
This commit is contained in:
parent
79552c953d
commit
5872c450a7
|
@ -93,6 +93,7 @@ const webpackConfig = {
|
|||
path: path.join( __dirname, 'dist' ),
|
||||
library: [ 'wc', '[modulename]' ],
|
||||
libraryTarget: 'this',
|
||||
jsonpFunction: '__wcAdmin_webpackJsonp',
|
||||
},
|
||||
externals,
|
||||
module: {
|
||||
|
|
Loading…
Reference in New Issue