summaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2015-08-01 21:46:45 -0500
committerkpdecker <kpdecker@gmail.com>2015-08-01 21:46:45 -0500
commitf3e8b189254b86d2c852342d69167c35a08598a9 (patch)
tree8601d69a89e95da6adc423bc09f1a6869046b133 /Gruntfile.js
parent15b55a307b4f95d4a861df8b32c3c1ddb4825414 (diff)
downloadhandlebars.js-f3e8b189254b86d2c852342d69167c35a08598a9.zip
handlebars.js-f3e8b189254b86d2c852342d69167c35a08598a9.tar.gz
handlebars.js-f3e8b189254b86d2c852342d69167c35a08598a9.tar.bz2
Add istanbul ignore to babel boilerplate
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index ad50db9..c2ff15e 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -43,7 +43,8 @@ module.exports = function(grunt) {
babel: {
options: {
- loose: ['es6.modules']
+ loose: ['es6.modules'],
+ auxiliaryCommentBefore: 'istanbul ignore next'
},
amd: {
options: {
@@ -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: {