Specify globalObject name

This commit is contained in:
Richard Davey 2021-01-19 09:41:31 +00:00
parent c9b68c167a
commit 67771d7645

View file

@ -20,7 +20,8 @@ module.exports = {
sourceMapFilename: '[file].map',
devtoolModuleFilenameTemplate: 'webpack:///[resource-path]', // string
devtoolFallbackModuleFilenameTemplate: 'webpack:///[resource-path]?[hash]', // string
umdNamedDefine: true
umdNamedDefine: true,
globalObject: 'this'
},
performance: { hints: false },