Skip to content

Commit 9a9a569

Browse files
author
Germano Fronza
committed
Fix build with new version of babel
1 parent 2f338e8 commit 9a9a569

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
"clappr": "latest"
2929
},
3030
"devDependencies": {
31-
"babel-core": "^5.8.25",
32-
"babel-loader": "^5.3.2",
31+
"babel-core": "^6.5.1",
32+
"babel-loader": "^6.2.2",
33+
"babel-plugin-add-module-exports": "^0.1.2",
34+
"babel-preset-es2015": "^6.5.0",
3335
"transfer-webpack-plugin": "^0.1.4",
3436
"html-loader": "^0.3.0",
3537
"sass-loader": "^3.1.1",

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = {
2525
loader: 'babel',
2626
query: {
2727
compact: true,
28+
presets: ['es2015'],
2829
}
2930
},
3031
{ test: /\.(png|woff|eot|ttf|swf)/, loader: 'file-loader' }

0 commit comments

Comments
 (0)