Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

我想将项目默认的sass替换成stylus或less #29

Open
mutoe opened this issue May 27, 2019 · 3 comments
Open

我想将项目默认的sass替换成stylus或less #29

mutoe opened this issue May 27, 2019 · 3 comments

Comments

@mutoe
Copy link
Contributor

mutoe commented May 27, 2019

我想将项目默认的css预处理器换成stylus, 看了一下这段相关代码

const gulpSass = (options, sync) => through.obj((file, enc, cb) => { // eslint-disable-line consistent-return
if (file.isNull()) {
return cb(null, file);
}

不知道这个方法比较gulp-sass做了些什么额外的工作, 可否直接用 gulp-stylus 直接替换呢?

或者有什么更好的办法来实现快捷替换css预处理器?

@NewFuture
Copy link
Owner

这个可以直接从这层替换

@NewFuture
Copy link
Owner

加一个 类似的 compile-stylus 更好

@mutoe
Copy link
Contributor Author

mutoe commented May 27, 2019

好的 感谢 稍后我我尝试下

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants