Fix Babel polyfill location
It was moved out of app.js dependencies and made a separate entry point - this will guarantee it will be loaded before any other module which might use ES6-specific objects and methods. Change-Id: I4899d53112720131cf8634d8a7f489878d096639
This commit is contained in:
parent
0f4dfa4c5d
commit
292844d7bb
@ -37,7 +37,6 @@ define(
|
||||
'views/support_page',
|
||||
'views/capacity_page',
|
||||
|
||||
'babel-core/polyfill',
|
||||
'backbone.routefilter',
|
||||
'bootstrap',
|
||||
'./styles/main.less'
|
||||
|
@ -1,6 +1,9 @@
|
||||
/*eslint-disable strict*/
|
||||
module.exports = {
|
||||
entry: ['./static/app.js'],
|
||||
entry: [
|
||||
'babel-core/polyfill',
|
||||
'./static/app.js'
|
||||
],
|
||||
output: {
|
||||
path: __dirname + '/static/build/',
|
||||
publicPath: '/static/build/',
|
||||
|
Loading…
Reference in New Issue
Block a user