diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-02-02 11:46:36 -0200 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-02-02 11:46:36 -0200 |
commit | 93a57dd3daf2312db6de5f138fdde7d7a413e820 (patch) | |
tree | d86db29a4ad9464e096da95cefb4dd00eb156d80 /web-ui | |
parent | caa8a4fcf7bf7ddd1c78f8c4e60088d72cecb717 (diff) |
[#922] Adds prod webpack configuration for react
with @tayanefernandes
Diffstat (limited to 'web-ui')
-rw-r--r-- | web-ui/webpack.production.config.js | 3 |
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']} } ] }, |