|
@@ -1,3 +1,4 @@
|
|
|
+const packageName = require('./package.json').name
|
|
|
const webpack = require('webpack')
|
|
|
const { cdn, getProxyOfDomain, getProxyOfIp } = require('./config')
|
|
|
|
|
@@ -120,7 +121,8 @@ module.exports = {
|
|
|
configureWebpack: {
|
|
|
output: {
|
|
|
library: 'bigMemberSubApp',
|
|
|
- libraryTarget: 'umd'
|
|
|
+ libraryTarget: 'umd',
|
|
|
+ jsonpFunction: `webpackJsonp_${packageName}`
|
|
|
},
|
|
|
plugins: [
|
|
|
new webpack.ProvidePlugin({
|