Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Commit

Permalink
[#922] Adds prod webpack configuration for react
Browse files Browse the repository at this point in the history
  • Loading branch information
Anike Arni committed Feb 2, 2017
1 parent caa8a4f commit 93a57dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web-ui/webpack.production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ var aliases = require('./config/alias-webpack');
module.exports = {
entry: {
app: './app/js/index.js',
account_recovery: './app/js/account_recovery.js',
sandbox: './app/js/sandbox.js'
},
node: { fs: 'empty' },
Expand All @@ -23,7 +24,7 @@ module.exports = {
{
test: /\.js$/,
loader: 'babel',
query: { presets: ['es2015']}
query: { presets: ['es2015', 'react']}
}
]
},
Expand Down

0 comments on commit 93a57dd

Please sign in to comment.