Skip to content

Commit

Permalink
Fixing build failure caused by dependancies updating
Browse files Browse the repository at this point in the history
  • Loading branch information
crspeller committed Aug 7, 2016
1 parent b974215 commit 99bb52d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
"velocity-animate": "1.2.3"
},
"devDependencies": {
"babel-core": "6.10.4",
"babel-core": "6.13.2",
"babel-eslint": "6.1.2",
"babel-loader": "6.2.4",
"babel-plugin-transform-runtime": "6.9.0",
"babel-polyfill": "6.9.1",
"babel-preset-es2015-webpack": "6.4.1",
"babel-preset-es2015": "6.13.2",
"babel-preset-react": "6.11.1",
"babel-preset-stage-0": "6.5.0",
"copy-webpack-plugin": "3.0.1",
Expand Down
7 changes: 5 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const webpack = require('webpack');
const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const nodeExternals = require('webpack-node-externals');

Expand Down Expand Up @@ -38,7 +37,11 @@ var config = {
loader: 'babel',
exclude: /(node_modules|non_npm_dependencies)/,
query: {
presets: ['react', 'es2015-webpack', 'stage-0'],
presets: [
'react',
['es2015', {modules: false}],
'stage-0'
],
plugins: ['transform-runtime'],
cacheDirectory: DEV
}
Expand Down

0 comments on commit 99bb52d

Please sign in to comment.