Commit ece27487 by Ari Rizzitano Committed by GitHub

Merge pull request #44 from edx/ari/babel-name-changes

update outdated babel deps
parents fd4b1bdd 21d1bd91
......@@ -32,12 +32,11 @@
"babel-cli": "^6.24.1",
"babel-jest": "^21.0.0",
"babel-loader": "^7.0.0",
"babel-minify": "^0.2.0",
"babel-minify-webpack-plugin": "^0.2.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-babili": "^0.1.4",
"babel-preset-env": "^1.4.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babili-webpack-plugin": "^0.1.1",
"coveralls": "^3.0.0",
"css-loader": "^0.28.4",
"enzyme": "^2.8.2",
......
const path = require('path');
const BabiliPlugin = require('babili-webpack-plugin');
const MinifyPlugin = require('babel-minify-webpack-plugin');
const env = process.env.NODE_ENV || 'dev';
......@@ -17,7 +17,7 @@ const base = {
extensions: ['.js', '.jsx'],
},
plugins: [
new BabiliPlugin(),
new MinifyPlugin(),
],
module: {
rules: [
......@@ -28,7 +28,7 @@ const base = {
{
loader: 'babel-loader',
options: {
presets: ['env', 'babili'],
presets: ['env', 'minify'],
},
},
{ loader: 'source-map-loader' },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment