From 5892cd9aeace25b25d5eaaa7ea26bb732339941a Mon Sep 17 00:00:00 2001
From: Bud Parr <budparr@gmail.com>
Date: Sat, 29 Apr 2017 20:59:55 +0000
Subject: [PATCH] add babel for users you may need it
---
src/webpack.config.js | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/webpack.config.js b/src/webpack.config.js
index 4e42bf5..284cbcb 100644
--- a/src/webpack.config.js
+++ b/src/webpack.config.js
@@ -8,6 +8,17 @@
module: {
rules: [
{
+ test: /\.js$/,
+ exclude: /node_modules/,
+ use: {
+ loader: 'babel-loader',
+ options: {
+ presets: ['env']
+ // plugins: [require('babel-plugin-transform-object-rest-spread')]
+ }
+ }
+ },
+ {
test: /\.css$/,
use: ExtractTextPlugin.extract({
fallback: "style-loader",
--
Gitblit v1.10.0