Skip to content

Latest commit

 

History

History
executable file
·
23 lines (14 loc) · 591 Bytes

README.md

File metadata and controls

executable file
·
23 lines (14 loc) · 591 Bytes

sass-auto-index

This module for dart-sass. create some _index.scss by scanning in the specified directory. Automatically write @forward in _index.scss.

use on npm scripts.

watch mode: -w --watch

 "sass-auto-index":"chokidar './src/assets/scss/' -c 'npm run css' -i '/.*_index\\.scss/' --initial"

If you are using an existing module to “watch" files and directories, you need using ignore for avoid loops. (sass-auto-index uses chokidar internally.)

 "sass-auto-index":"chokidar './src/assets/scss/' -c 'npm run css' -i '/.*_index\\.scss/' --initial"