【发布时间】:2019-12-13 14:39:59
【问题描述】:
我正在使用
运行 pug CLIpug src --out web --watch
如果我有
src/
index.pug
includes/
scripts.pug
web/
index.html (generated)
在 index.pug 中:include includes/scripts.pug
如果我修改 scripts.pug,使用此设置,它会生成我不需要的 web/includes/scripts.html,我不想为了保持干净。
有没有办法避免某些文件/目录编译? (目前一种解决方法是将包含在 html 形式中,但也许有办法)
【问题讨论】:
标签: directory pug-loader