istanbul-instrumenter-loader
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -11,3 +11,7 @@ 'use strict'; | ||
if (this.cacheable) { | ||
this.cacheable(); | ||
} | ||
return instrumenter.instrumentSync(source, this.request); | ||
}; |
{ | ||
"name": "istanbul-instrumenter-loader", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "istanbul instrumenter loader for webpack", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -35,3 +35,3 @@ ## Istanbul instrumenter loader for [webpack](https://webpack.github.io/) | ||
preprocessors: { | ||
// 'src/**/*.js': ['coverage'] << and this too | ||
// 'src/**/*.js': ['coverage'], << and this too | ||
'test/**/*.js': [ 'webpack' ] | ||
@@ -48,3 +48,3 @@ }, | ||
module: { | ||
preLoaders: [ { // << add istanbul-instrumenter-loader as webpack's preloader | ||
preLoaders: [ { // << add subject as webpack's preloader | ||
test: /\.js$/, | ||
@@ -51,0 +51,0 @@ exclude: /(test|node_modules|bower_components)\//, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
3746
12
0