mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Load babel-polyfill in the bundle entry, before index.js
This commit is contained in:
parent
9b055171ab
commit
c56b54eddd
@ -8,12 +8,9 @@ if (!og_image_url) og_image_url = 'https://riot.im/app/themes/riot/img/logos/rio
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
main: [
|
||||
// Load this first to avoid issues where some imports (namely react)
|
||||
// potentially before babel-polyfill.
|
||||
'babel-polyfill',
|
||||
],
|
||||
"bundle": "./src/vector/index.js",
|
||||
// Load babel-polyfill first to avoid issues where some imports (namely react)
|
||||
// are potentially loaded before babel-polyfill.
|
||||
"bundle": ["babel-polyfill", "./src/vector/index.js"],
|
||||
"indexeddb-worker": "./src/vector/indexeddb-worker.js",
|
||||
|
||||
// We ship olm.js as a separate lump of javascript. This makes it get
|
||||
|
Loading…
Reference in New Issue
Block a user