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
I'm trying to use the standalone compiler for existing code that has style dependencies on a number of npm packages.
The command looks like: sass --load-path=node_modules src/styles/app.scss public/app.css
I encounter the following error: Error: Can't find stylesheet to import. @import "~/boostraps-sass/assets/stylesheets/bootstrap/variables"
I understand the ~ is not something specific to sass and some other posts mention it could be solved via custom importer, but that seems to be available only in the js api.
Is there a way to fix the issue without having to change the existing code?
Thank you!
The text was updated successfully, but these errors were encountered:
I'm trying to use the standalone compiler for existing code that has style dependencies on a number of npm packages.
The command looks like:
sass --load-path=node_modules src/styles/app.scss public/app.css
I encounter the following error:
Error: Can't find stylesheet to import. @import "~/boostraps-sass/assets/stylesheets/bootstrap/variables"
I understand the
~
is not something specific to sass and some other posts mention it could be solved via custom importer, but that seems to be available only in the js api.Is there a way to fix the issue without having to change the existing code?
Thank you!
The text was updated successfully, but these errors were encountered: