fex-team / fis-parser-sass

A parser plugin for fis to compile sass file.
MIT License
16 stars 12 forks source link

使用fis-parser-sass 插件,@import 的文件中的inline 图片,会报错 #28

Closed andge closed 9 years ago

andge commented 9 years ago

common目录 a.scss .a{ background-image: url('/img/a.png?__inline'); } project b.scss @import '../common/a.scss';

a.scss 中不能使用inline 。

2betop commented 9 years ago

有没有编译期跨模块引用?

andge commented 9 years ago

用一个fis.config编译的

2betop commented 9 years ago

报啥错?路径确定写对了?

andge commented 9 years ago

不用inline 就没有问题

2betop commented 9 years ago

windows 下面跑了一把,也没问题啊。你什么系统?

image

andge commented 9 years ago

windows 的系统。 出bug 的流程是这样的。 b.scss 引用你上面的a.scss ,编译出来的inline 就不正常了

2betop commented 9 years ago

新版本已修复