1.0.4 • Published 2 years ago

styl2scss v1.0.4

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

Styl2scss

Convert stylus to scss

Installation

npm i -g styl2scss

Usage

s2s

Configuration

Create the styl2scss.config.js file above in the project with the following options:

ignore - list of ignored globs (default - ['node_modules/**']);

convertStyles - enable styles conversion (default - true);

removeOldStyles - remove old styles (default - false);

updateJSX - update style imports in jsx/tsx files (default - false);

Known issues

If the original styles were wrong, the result will also be wrong. For example, if there were block brackets in the source file - as a result, there may be one more bracket in this place.

License

MIT

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago