Skip to content

Commit

Permalink
Add istanbul ignore to babel boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdecker committed Aug 2, 2015
1 parent 15b55a3 commit f3e8b18
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ module.exports = function(grunt) {

babel: {
options: {
loose: ['es6.modules']
loose: ['es6.modules'],
auxiliaryCommentBefore: 'istanbul ignore next'
},
amd: {
options: {
Expand Down Expand Up @@ -75,7 +76,7 @@ module.exports = function(grunt) {
module: {
loaders: [
// the optional 'runtime' transformer tells babel to require the runtime instead of inlining it.
{ test: /\.jsx?$/, exclude: /node_modules/, loader: 'babel-loader?optional=runtime&loose=es6.modules' }
{ test: /\.jsx?$/, exclude: /node_modules/, loader: 'babel-loader?optional=runtime&loose=es6.modules&auxiliaryCommentBefore=istanbul%20ignore%20next' }
]
},
output: {
Expand Down

0 comments on commit f3e8b18

Please sign in to comment.