Skip to content

Commit

Permalink
Use Babel transform only on modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Feb 17, 2017
1 parent 203bd1f commit 191dd35
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .babelrc → modules/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
"stage-1"
],
"plugins": [
"dev-expression",
"transform-object-assign"
]
],
"env": {
"production": {
"plugins": [
"dev-expression"
]
}
}
}
2 changes: 1 addition & 1 deletion tests.webpack.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const context = require.context('./modules', true, /-test\.js$/)
var context = require.context('./modules', true, /-test\.js$/)
context.keys().forEach(context)

0 comments on commit 191dd35

Please sign in to comment.