diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-08-08 10:46:05 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-08-08 10:46:05 +0300 |
commit | 91dc2dcbde2318bbf0016c68c53b2359b17fbf63 (patch) | |
tree | 61a1836346935fd7d1191f54d1e6e82d852d510b /webpack.common.js | |
parent | a23735fddb927fc0a87476edcfa2d8fcc7e5e049 (diff) |
Set jsonpFunction to avoid conflict with other bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'webpack.common.js')
-rw-r--r-- | webpack.common.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js index 9dab63656..8c6a041de 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -13,7 +13,8 @@ module.exports = { path: path.resolve(__dirname, './js'), publicPath: '/js/', filename: '[name].js', - chunkFilename: '[name].js?v=[contenthash]' + chunkFilename: '[name].js?v=[contenthash]', + jsonpFunction: 'textWebpackJsonp' }, module: { rules: [ |