宇天 d945af6d3e 2.0.0 2019-02-14 13:38:11 +08:00
lib 更换sass库,兼容win10 2018-12-27 18:44:32 +08:00
test 2.0.0 2019-02-14 13:38:11 +08:00
.gitignore update 2018-12-17 11:46:31 +08:00
.travis.yml update 2018-12-17 11:02:43 +08:00
.vscodeignore 增加右键菜单编译;增加快捷键绑定 2018-12-21 15:57:39 +08:00
CHANGELOG.md 2.0.0 2019-02-14 13:38:11 +08:00
LICENSE 增加右键菜单编译;增加快捷键绑定 2018-12-21 15:57:39 +08:00
README.md 2.0.0 2019-02-14 13:38:11 +08:00
README_ZH.md 2.0.0 2019-02-14 13:38:11 +08:00
demo.gif add demo.gif 2018-12-21 16:41:40 +08:00
index.js 2.0.0 2019-02-14 13:38:11 +08:00
logo.png init 2018-12-03 10:00:21 +08:00
package-lock.json 更换sass库,兼容win10 2018-12-27 18:44:32 +08:00
package.json 2.0.0 2019-02-14 13:38:11 +08:00

README.md

scss-to-css

The easiest way to compile scss file to css without using other tools like webpack. And autoprefixer at the same time.

Version Rating Installs Build Status

README_中文

Live demo: demo

Why Scss-to-css

For some small project or teaching speech. It's too fat to deploy a webpack env. Now, scss-to-css help us to compile scss file to css file at a none webpack project and autoprefixer.

Configuration

Some configuration can be set, which it works better for you。

  • compileOnSave: Auto compile on document saved, default true
  • autoPrefixer: Will autoprefixer. It can be run faster when turn off. default true
  • output: Output style. default compressed
  • exclude: The RegExp of path what you can to ignore(the var.scss file will never be compiled)。

Issues

This extension work well on all os. If any problem please let me known issue

Installation

Search scss-to-css and install in the marketplace.

.browserslistrc DEMO (Deprecated in 2.x)

Just for demo, you can change it by youself. If not exists, the default value will be last 2 version.

ie > 9
iOS > 8
Android >= 4.4
ff > 38
Chrome > 38

.scssrc DEMO (in 2.x or above)

instead of using .browserslistrc, we recommend to use .scssrc.

{
  "browsers": ["ie > 9", "iOS > 8", "Android >= 4.4", "ff > 38", "Chrome > 38"],
  "outdir": "dist" // relative path of this '.scssrc' file.
}

// You can also set other config in this file.
// eg. compileOnSave,autoPrefixer,output,exclude
Scss编译插件, 简单易用。无需配置复杂的环境, 保存自动编译,并根据你的需求补全浏览器前缀。1.0.0版是给Sublime Text 用的。 之后的版本是vscode专用。
JavaScript 98.5%
SCSS 1.5%