pug-plugin-modules
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -13,6 +13,7 @@ const path = require('path'); | ||
extensions: ['.pug', '.jade'], | ||
packageFilter: pkg => | ||
Object.assign({}, pkg, { | ||
packageFilter(pkg) { | ||
return Object.assign({}, pkg, { | ||
main: pkg.pug || pkg.main | ||
}) | ||
}); | ||
} | ||
}, options)); | ||
@@ -19,0 +20,0 @@ } |
{ | ||
"name": "pug-plugin-modules", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Pug plugin for resolving templates in node_modules", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3980
19