summaryrefslogtreecommitdiff
path: root/web-ui
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2017-02-02 11:46:36 -0200
committerAnike Arni <aarni@thoughtworks.com>2017-02-02 11:46:36 -0200
commit93a57dd3daf2312db6de5f138fdde7d7a413e820 (patch)
treed86db29a4ad9464e096da95cefb4dd00eb156d80 /web-ui
parentcaa8a4fcf7bf7ddd1c78f8c4e60088d72cecb717 (diff)
[#922] Adds prod webpack configuration for react
with @tayanefernandes
Diffstat (limited to 'web-ui')
-rw-r--r--web-ui/webpack.production.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web-ui/webpack.production.config.js b/web-ui/webpack.production.config.js
index bddbbe9c..55069c3f 100644
--- a/web-ui/webpack.production.config.js
+++ b/web-ui/webpack.production.config.js
@@ -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' },
@@ -23,7 +24,7 @@ module.exports = {
{
test: /\.js$/,
loader: 'babel',
- query: { presets: ['es2015']}
+ query: { presets: ['es2015', 'react']}
}
]
},