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 encountering an issue when trying to import Bootstrap SCSS into my Next.js project. Specifically, I'm using the line @import "bootstrap/scss/functions"; in my SCSS files. Everything works fine when using webpack. However, when I switch to TurboPack with the --turbo parameter, I encounter the following error:
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
-
Summary
I'm encountering an issue when trying to import Bootstrap SCSS into my Next.js project. Specifically, I'm using the line
@import "bootstrap/scss/functions";
in my SCSS files. Everything works fine when using webpack. However, when I switch to TurboPack with the --turbo parameter, I encounter the following error:I need assistance troubleshooting this problem, especially regarding how to resolve the import error when using TurboPack.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions