Skip to content

Commit

Permalink
fix(test): Fix the retrocomp with node 4-
Browse files Browse the repository at this point in the history
Added the webpack babel preset es2015
  • Loading branch information
sospedra committed Dec 27, 2015
1 parent 0a11abd commit 8e4e8ee
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion webpack.test.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@ module.exports = {
entry: './index.js',
output: {
path: './test/',
filename: `logatim.tmp.js`,
filename: 'logatim.tmp.js',
library: 'logatim',
libraryTarget: 'umd'
},
module: {
loaders: [{
test: /\.js?$/,
exclude: /(node_modules|bower_components)/,
loader: 'babel',
query: {
presets: ['es2015']
}
}]
}
}

0 comments on commit 8e4e8ee

Please sign in to comment.