Skip to content

Instantly share code, notes, and snippets.

@tjunghans
Last active March 12, 2020 13:08
Show Gist options
  • Save tjunghans/7e3efa0161dede412b2d86fed76de37a to your computer and use it in GitHub Desktop.
Save tjunghans/7e3efa0161dede412b2d86fed76de37a to your computer and use it in GitHub Desktop.
Using the sass-migrator in monorepo

#Using the sass-migrator in monorepo

sass/migrator#68

// @use "../../../package/browser/css/file"; // alternative solution
@use "~package/browser/css/file";

Calling the migrator in the root directory, which is the same directory of packages/node_modules and node_modules will only find sass in node_modules but not in packages/node_modules. To use the sass-migrator, just cd into `packages/node_modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment