diff --git a/.babelrc b/.babelrc index d6bfc30..c1dec08 100644 --- a/.babelrc +++ b/.babelrc @@ -6,9 +6,7 @@ "modules": false, "targets": { "browsers": [ - "> 1%", - "last 2 versions", - "not ie <= 8" + "last 2 Chrome versions" ] } } diff --git a/todo.js b/todo.js new file mode 100644 index 0000000..c61f364 --- /dev/null +++ b/todo.js @@ -0,0 +1,11 @@ +// @TODO 1. Change babelrc browser support to : +// ``` +// "browsers": [ +// "> 1%", +// "last 2 versions", +// "not ie <= 8" +// ] +// ``` + +// @TODO 2: In webpack, enable uglify +// \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index c37c10f..876d4fd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -22,10 +22,10 @@ module.exports = { ] }, plugins: [ - new webpack.optimize.UglifyJsPlugin({ - include: /\.min\.js$/, - minimize: true - }) , + // new webpack.optimize.UglifyJsPlugin({ + // include: /\.min\.js$/, + // minimize: true + // }) , new CopyWebpackPlugin([ { from: 'demo/index.html', to: 'dist/' } ])