Tool that can import all preprocessor files to single file.
python autoimporter.py path_to_config
path_to_config - YAML file there are import settings
- Create any file with .yaml extension (e.g.: config.yaml (logical))
- Configurate this config file.
import (list) - less file paths which need to import to styles.
destination (str) - preprocessor styles file, where will be all imports - That's all! Congratulations 🎉
import: [blocks/*/**, blocks/*]
destination: styles.scss
python autoimporter.py sandbox/config.yaml