Fix the class inheritance bug for IE <= 10

This is caused by babel bug https://github.com/babel/babel/issues/3041.
Upgrade to the latest BabelJS to fix the issue.

Also replace source map with inline source map to ease the debugging.
This commit is contained in:
Wei Wei 2016-10-26 06:23:35 +08:00
Родитель 7e255e969b
Коммит 3f8dfb3451
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -21,10 +21,10 @@
"url": "https://github.com/Microsoft/backbone-toolbar.git" "url": "https://github.com/Microsoft/backbone-toolbar.git"
}, },
"devDependencies": { "devDependencies": {
"babel-core": "^6.13.2", "babel-core": "^6.18.0",
"babel-loader": "^6.2.5", "babel-loader": "^6.2.5",
"babel-preset-es2015": "^6.13.2", "babel-preset-es2015": "^6.18.0",
"babel-preset-stage-3": "^6.11.0", "babel-preset-stage-3": "^6.17.0",
"backbone": "^1.3.3", "backbone": "^1.3.3",
"bootstrap": "^3.3.7", "bootstrap": "^3.3.7",
"bootstrap-webpack": "0.0.5", "bootstrap-webpack": "0.0.5",

Просмотреть файл

@ -50,5 +50,5 @@ module.exports = {
babel: { presets: ['es2015', 'stage-3'] }, babel: { presets: ['es2015', 'stage-3'] },
externals: [getExternals()], externals: [getExternals()],
resolve: { alias: webpackAlias }, resolve: { alias: webpackAlias },
devtool: 'source-map', devtool: 'inline-source-map',
}; };