mark-loader
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -15,4 +15,4 @@ const path = require('path'); | ||
const markLoader = (content) => { | ||
const context = this._compiler && this._compiler.context || process.cwd(); | ||
const markLoader = function markLoader(content) { | ||
const context = this._compiler && this._compiler.context || process.cwd() || ''; | ||
const resourcePath = this.resourcePath; | ||
@@ -19,0 +19,0 @@ const markName = path.relative(context, resourcePath).replace(/[^a-zA-Z0-9]/g, '_'); |
{ | ||
"name": "mark-loader", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Inspect module load time with performance.measure", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
2707