Skip to content

Commit

Permalink
Optimize build
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadeuLuz committed Mar 17, 2017
1 parent 1efe0d4 commit 042f1f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import HtmlWebpackPlugin from 'html-webpack-plugin';

const config = {
entry: './src/index.jsx',
devtool: 'eval',
resolve: { extensions: ['.js', '.jsx'] },
output: {
filename: 'bundle.js',
Expand All @@ -12,7 +13,7 @@ const config = {
rules: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
include: './src',
use: [{ loader: 'babel-loader', query: { compact: false } }],
},
{
Expand Down

0 comments on commit 042f1f5

Please sign in to comment.