fix(external-api): build with polyfill for IE11

This commit is contained in:
Leonard Kim 2017-11-08 09:31:34 -08:00 committed by hristoterezov
parent db71de97af
commit 81e36b2a26
1 changed files with 6 additions and 1 deletions

View File

@ -172,7 +172,12 @@ module.exports = [
// JitsiMeetExternalAPI).
Object.assign({}, config, {
entry: {
'external_api': './modules/API/external/index.js'
'external_api': [
// XXX Required by at least IE11 at the time of this writing.
'babel-polyfill',
'./modules/API/external/index.js'
]
},
output: Object.assign({}, config.output, {
library: 'JitsiMeetExternalAPI',