externalize dependencies

This commit is contained in:
or-else
2018-10-31 22:00:18 +03:00
parent c76a7dcb6b
commit e8dba6bd5e
4 changed files with 17 additions and 31 deletions
+1 -4
View File
@@ -15,9 +15,6 @@ module.exports = config = {
},
],
},
output: {
libraryTarget: 'umd'
},
optimization: {
minimizer: [
// we specify a custom UglifyJsPlugin here to get source maps in production.
@@ -37,6 +34,6 @@ module.exports = config = {
'react-dom': 'ReactDOM',
'react-intl': 'ReactIntl',
'firebase/app': 'firebase',
'firebase/messaging': true
'firebase/messaging': ['firebase', 'messaging']
},
};