Seems like in Automatic Migration section of Breaking Change: @import and global built-in functions, it would make more sense to recommend npx:
npx sass-migrator module --migrate-deps your-entrypoint.scss
Over a global install of Sass migrator?
|
```shellsession |
|
$ npm install -g sass-migrator |
|
$ sass-migrator module --migrate-deps your-entrypoint.scss |
|
``` |
Let’s make it as easy as possible for folx to get ahead of the deprecated @import breaking change. To me, this means favoring npx over globally installing Sass migrator to automatically update stylesheets to use the module system.
Seems like in Automatic Migration section of Breaking Change:
@importand global built-in functions, it would make more sense to recommendnpx:npx sass-migrator module --migrate-deps your-entrypoint.scssOver a global install of Sass migrator?
sass-site/source/documentation/breaking-changes/import.md
Lines 47 to 50 in c935ee1
Let’s make it as easy as possible for folx to get ahead of the deprecated
@importbreaking change. To me, this means favoringnpxover globally installing Sass migrator to automatically update stylesheets to use the module system.