From 93a57dd3daf2312db6de5f138fdde7d7a413e820 Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Thu, 2 Feb 2017 11:46:36 -0200 Subject: [#922] Adds prod webpack configuration for react with @tayanefernandes --- web-ui/webpack.production.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web-ui/webpack.production.config.js') 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']} } ] }, -- cgit v1.2.3