hem-compiler-jade
Advanced tools
Comparing version 0.1.2 to 0.1.3
exports.compile = function(path) { | ||
return "var jade = require('hem-compiler-jade/node_modules/jade/lib/runtime'); module.exports = "+ | ||
return "module.exports = "+ | ||
require('jade').compile( | ||
@@ -11,4 +11,4 @@ require('fs').readFileSync(path, 'utf8'), | ||
} | ||
).toString() | ||
) | ||
} | ||
{ | ||
"name": "hem-compiler-jade", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "jade support for hem", | ||
@@ -5,0 +5,0 @@ "keywords": ["jade", "hem", "template"], |
@@ -14,4 +14,5 @@ # Jade compiler for hem | ||
2. Add `"hem-compiler-jade/node_modules/jade/lib/runtime"` to the | ||
`dependencies` section of your `slug.json`. | ||
2. Add `"node_modules/hem-compiler-jade/node_modules/jade/runtime.js"` | ||
(or simply `"node_modules/jade/runtime.js"` if jade is in your `package.json`) | ||
to the `libs` section of your `slug.json`. | ||
@@ -18,0 +19,0 @@ 3. Add `"jade": "hem-compiler-jade"` to the `compilers` section of your |
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
1693
37