Skip to content

Commit

Permalink
keep things working
Browse files Browse the repository at this point in the history
  • Loading branch information
benshope committed Oct 15, 2018
1 parent 95ca929 commit 7ba11d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion showcase/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ const entry = {app: './app'};
const jsRule = {
test: /\.js$/,
loader: 'babel-loader',
exclude: [/node_modules/]
exclude: [/node_modules/],
query: {
presets: ['react', 'es2015', 'stage-0']
}
};
const isProd = process.env.NODE_ENV === 'production'; // eslint-disable-line
const config = isProd
Expand Down

0 comments on commit 7ba11d2

Please sign in to comment.