Replies: 2 comments
-
Same for me, with 2 different libs: |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's not a bug, turbopack does not support https://nextjs.org/docs/architecture/turbopack#unsupported-features
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Link to the code that reproduces this issue
https://github.com/szaleq/next-js-15-sass-issue-repro
To Reproduce
yarn create next-app@latest
yarn add sass
Current vs. Expected behavior
Expected behavior: Sass variables defined using
:export {}
are correctly imported in JS using the following code:Current behavior: fails with the following error:
Everything works as expected with Next.js 13 and 14 (just following the steps described above but adding version to
create-next-app
, likeyarn create next-app@^13
) but fails with next@15.Provide environment information
Which area(s) are affected? (Select all that apply)
Not sure, Module Resolution
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions