aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-12-10 00:22:36 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-12-10 00:22:36 +0100
commit503f94199f7fc730da4a1a1165c2863956d10000 (patch)
tree035e47f4a734a6c9b9649e77333ed49dce4ac710 /webpack.config.js
parentf18692872cdc28d29917247ef4f8ef7553a8b023 (diff)
Setup react-redux env
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 8b713a6..f7e74da 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,7 +1,7 @@
const path = require('path');
module.exports = {
- entry: './src/client/javascript/main.js',
+ entry: './src/client/react/index.js',
output: {
path: path.resolve(__dirname, 'src/client/static'),
filename: 'bundle.js'
@@ -12,7 +12,7 @@ module.exports = {
test: [/\.js$/],
exclude: [/node_modules/],
loader: 'babel-loader',
- options: { presets: ['es2015'] }
+ options: { presets: ['es2015', 'react'] }
}
]
}