Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Sass Loader #26

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

antife-yinyue
Copy link

如题

@antife-yinyue
Copy link
Author

sourceMap push 上去后,CI 挂了,我再改改

@sorrycc
Copy link
Member

sorrycc commented Sep 23, 2015

sass-loader 安装需要编译的,尤其是 windows 下不一定成功,不要内置吧。

@antife-yinyue
Copy link
Author

哦~~对,LibSass 是 C++ 的。其他的都不需要编译?

LibSass requires GCC 4.6+ or Clang/LLVM. If your OS is older, this version may not compile.

On Windows, you need MinGW with GCC 4.6+ or VS 2013 Update 4+. It is also possible to build LibSass with Clang/LLVM on Windows.

@antife-yinyue
Copy link
Author

但如果不内置的话,就不能在服务器编译 Sass,就没必要用 loader 了,本地用 Sass 自带的编译还更方便点

@sorrycc
Copy link
Member

sorrycc commented Sep 23, 2015

  • 还有个 watch 也是需要编译的,不过编译的东西是可选的
  • 不内置,也可以服务端编译吧,配 devDependencies

@antife-yinyue
Copy link
Author

好像是欸

@antife-yinyue
Copy link
Author

@fengmk2 这里不打算 merge,后来也没时间换掉 ruby,搁置了

@fengmk2
Copy link

fengmk2 commented Nov 2, 2015

@sorrycc 国内使用 cnpm 和 tnpm 能解决了。直接去国内镜像下载编译后的二进制文件了。https://npm.taobao.org/mirrors/node-sass/

@fengmk2
Copy link

fengmk2 commented Nov 2, 2015

cnpm/mirrors#85

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

Successfully merging this pull request may close these issues.

3 participants