babel-plugin-virtual-jade
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -52,3 +52,5 @@ 'use strict'; | ||
var jadeContent = _fs2.default.readFileSync(path, 'utf8'); | ||
return (0, _virtualJade2.default)(jadeContent); | ||
return (0, _virtualJade2.default)(jadeContent, { | ||
filename: path | ||
}); | ||
}; | ||
@@ -55,0 +57,0 @@ |
{ | ||
"name": "babel-plugin-virtual-jade", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A Babel 6 plugin for inlining virtual-jade templates into js", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -33,3 +33,5 @@ import * as babylon from 'babylon'; | ||
const jadeContent = fs.readFileSync(path, 'utf8'); | ||
return vjade(jadeContent); | ||
return vjade(jadeContent, { | ||
filename: path, | ||
}); | ||
}; | ||
@@ -36,0 +38,0 @@ |
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
7126
146