aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
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'] }
}
]
}