aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/webpack.config.js b/webpack.config.js
index f7e74da..baba614 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -4,7 +4,7 @@ module.exports = {
entry: './src/client/react/index.js',
output: {
path: path.resolve(__dirname, 'src/client/static'),
- filename: 'bundle.js'
+ filename: 'bundle.js',
},
module: {
rules: [
@@ -12,8 +12,8 @@ module.exports = {
test: [/\.js$/],
exclude: [/node_modules/],
loader: 'babel-loader',
- options: { presets: ['es2015', 'react'] }
- }
- ]
- }
-} \ No newline at end of file
+ options: { presets: ['es2015', 'react', 'stage-2'] },
+ },
+ ],
+ },
+};