1.0.0 • Published 3 years ago

scss-cleaner v1.0.0

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

scss-cleaner

Scss cleaner for React Native project using react-native-sass-transformer.

Prequesites:

  • React Native project
  • Using react-native-sass-transformer
  • Each component and screen has its own scss file with the same filename, (file extension is the only difference)
  • Styles are imported with name styles. This is very important

For example: If you have a component with filename ButtonComponent.tsx, you should name its styles file as ButtonComponent.scss, put it in the same folder, and write import statement exactly like below:

import styles from './ButtonComponent.scss';

CLI Usage

Usage: scss-clean [options] [command]

Options:
  -h, --help      display help for command

Commands:
  clean           Clean scss for a specific project root
                  folder
  help [command]  display help for command
1.0.0

3 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