You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is either an idea or troubleshooting; it's unclear which.
I've set up an alias for a directory inside a node module that contains Sass partials (alias: { toolkit: './node_modules/sass-toolkit/stylesheets/toolkit'}). Aliases I have in JS work as expected, but when compiling a Sass file using @snowpack/plugin-sass, I get an error that the file I'm trying to import (toolkit/reset, stored at node_modules/sass-toolkit/stylesheets/toolkit/_reset.scss) can't be found to be imported. If aliases don't currently work w/the Sass plugin, I'd like to see them supported, alternatively, I'd like to see the --load-path Sass config officially supported in the Sass plugin to be able to add this by hand.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This is either an idea or troubleshooting; it's unclear which.
I've set up an alias for a directory inside a node module that contains Sass partials (
alias: { toolkit: './node_modules/sass-toolkit/stylesheets/toolkit'}
). Aliases I have in JS work as expected, but when compiling a Sass file using@snowpack/plugin-sass
, I get an error that the file I'm trying to import (toolkit/reset
, stored atnode_modules/sass-toolkit/stylesheets/toolkit/_reset.scss
) can't be found to be imported. If aliases don't currently work w/the Sass plugin, I'd like to see them supported, alternatively, I'd like to see the--load-path
Sass config officially supported in the Sass plugin to be able to add this by hand.Beta Was this translation helpful? Give feedback.
All reactions