Open jonathanong opened 9 years ago
I started looking into this and pug/jade-v2 passes the basic tests but fails on include/extends.
Thanks for your work, it was easy to make a gulp-pug-hyperscript plugin based on virtual-jade and the example of virtual-jade-loader.
Awesome, thanks for looking into it. Glancing at your build results ("Error: ENOENT: no such file or directory, open 'test/fixtures/extended-layout.jade'"), it seems to be looking for .jade
files instead of .pug
. In this repo's test fixtures, we specify the file extension (e.g., https://github.com/tdumitrescu/virtual-jade/blob/9329e0bbe61732c893dc64680609367e6a2a1778/test/fixtures/include.jade#L3) - what happens if you update your fixtures to include the .pug
extension?
when released