Updated babel to 6.0

This commit is contained in:
Chris
2015-11-17 07:39:34 +01:00
parent 33150f0cf6
commit bbd0f7666e
5 changed files with 35 additions and 13 deletions
+9 -8
View File
@@ -7,6 +7,15 @@ var BowerWebpackPlugin = require('bower-webpack-plugin');
module.exports = {
devtool: 'eval',
module: {
preLoaders: [
{
test: /\.(js|jsx)$/,
loader: 'isparta-instrumenter-loader',
include: [
path.join(__dirname, '/../src')
]
}
],
loaders: [
{
test: /\.(png|jpg|gif|woff|woff2|css|sass|scss|less|styl)$/,
@@ -19,14 +28,6 @@ module.exports = {
path.join(__dirname, '/../src'),
path.join(__dirname, '/../test')
]
},
{
test: /\.(js|jsx)$/,
loader: 'babel-loader',
include: [
path.join(__dirname, '/../src')
],
loader: 'isparta'
}
]
},