Use UMD and fix build to properly load deps (#24783)

This commit is contained in:
Federico Zivolo 2017-11-15 14:13:33 +01:00 committed by Johann-S
parent ffc5965f2c
commit 7fd265034c
2 changed files with 4 additions and 20 deletions

View file

@ -37,7 +37,7 @@ module.exports = {
input: path.resolve(__dirname, '../js/src/index.js'),
output: {
file: path.resolve(__dirname, `../dist/js/${fileDest}`),
format: 'iife'
format: 'umd'
},
name: 'bootstrap',
external,