Use UMD and fix build to properly load deps (#24783)
This commit is contained in:
parent
ffc5965f2c
commit
7fd265034c
2 changed files with 4 additions and 20 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue