0.0.5 • Published 7 years ago

fis-hook-ejs-include-path v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

fis-hook-ejs-include-path

用 fis 构建时,使 ejs 嵌套模版支持相对路径,并且自动添加依赖

注意事项

  • 源码使用了 es6 ,需要 node >= 6.0.0
  • 功能比较简单,如果代码的语法和 ejs 的嵌套语法类似可能出现错误
  • 当前版本不支持 ejs 配置 open 和 close

使用

<% include ./demo.ejs %>
fis.hook('ejs-include-path');
0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago