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:
Vitaly Kramskikh 2015-11-25 20:21:33 +07:00
parent 0f4dfa4c5d
commit 292844d7bb
2 changed files with 4 additions and 2 deletions

View File

@ -37,7 +37,6 @@ define(
'views/support_page',
'views/capacity_page',
'babel-core/polyfill',
'backbone.routefilter',
'bootstrap',
'./styles/main.less'

View File

@ -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/',