Commit b5d2edab authored by Mike Greiling's avatar Mike Greiling

transpile all javascript files with babel

parent 61ef5f0e
...@@ -49,8 +49,8 @@ var config = { ...@@ -49,8 +49,8 @@ var config = {
module: { module: {
loaders: [ loaders: [
{ {
test: /\.es6$/, test: /\.(js|es6)$/,
exclude: /node_modules/, exclude: /(node_modules|vendor\/assets)/,
loader: 'babel-loader', loader: 'babel-loader',
query: { query: {
// 'use strict' was broken in sprockets-es6 due to sprockets concatination method. // 'use strict' was broken in sprockets-es6 due to sprockets concatination method.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment