Fix build process

This commit is contained in:
Collect Truem Server 2018-05-26 01:57:47 +02:00
parent 5c27ce1363
commit 3de239b330

View File

@ -15,15 +15,16 @@ export default {
}, },
external: ['jquery', 'popper.js'], external: ['jquery', 'popper.js'],
plugins: [ plugins: [
babel({ babel(Object.assign(babelOptions, {
externalHelpersWhitelist: [ externalHelpersWhitelist: [
// Include only required helpers // Include only required helpers
'defineProperties', 'defineProperties',
'createClass', 'createClass',
'inheritsLoose', 'inheritsLoose',
'extends', 'extends',
'objectSpread',
], ],
}), }) ),
resolve({ resolve({
module: true, module: true,
}), }),