Adding babel back.

This commit is contained in:
Dan 2017-12-25 17:08:36 -08:00
parent 10fc278f41
commit 4d2d321430
3 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"presets": [
"stage-0"
"env"
]
}

View File

@ -9,6 +9,9 @@
"license": "MIT",
"keywords": [],
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.9.7"
},

View File

@ -24,11 +24,13 @@ module.exports = {
{
test: /\.js$/,
include: path.join(__dirname, 'src'),
exclude: [/fetcher/]
exclude: [/fetcher/],
loader: "babel-loader"
},
{
test: /\.js$/,
include: [/fetcher/]
include: [/fetcher/],
loader: "babel-loader"
}
]
},