0.1.6 • Published 3 years ago

@dbetka/sass-watcher v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@dbetka/sass-watcher

Script to generate file with cached sass imports.

Installation

npm i -D @dbetka/sass-watcher

Usage in package.json

With arguments in package.json

{
  "scripts": {
    "sass-watcher": "sass-watcher --input-dir src/style/ --output src/style/__cache__/index.sass"
  }
}

With config file in package.json

{
  "scripts": {
    "sass-watcher": "sass-watcher --config configs/sass-watcher.json"
  }
}

Example config file

{
  "input-dir": "src/style/auto-import",
  "output": "src/style/__cache__/index.sass"
}

Usage in code

src/style/index.sass file

@import "__cache__/index"

// Rest imports
0.1.6

3 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago