pug-plugin-modules
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -7,3 +7,6 @@ const path = require('path'); | ||
resolve(filename, source, pugOptions) { | ||
return resolve.sync(filename, Object.assign({ | ||
const file = path.parse(filename); | ||
const resolvePath = file.dir ? `${file.dir}/${file.name}` : file.name; | ||
return resolve.sync(resolvePath, Object.assign({ | ||
basedir: path.dirname(source), | ||
@@ -10,0 +13,0 @@ extensions: ['.pug', '.jade'], |
{ | ||
"name": "pug-plugin-modules", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Pug plugin for resolving templates in node_modules", | ||
@@ -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
3963
18