Skip to content

Favor npx over global install of Sass migrator #1240

Open
@rdela

Description

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.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions