Closed paulm17 closed 3 months ago
https://github.com/paulm17/turbopacksvgerror/blob/main/next.config.mjs#L3-L11
You customized webpack configuration, which obviously does not work with Turbopack 😄
You can use the configuration shown in the documentation: https://nextjs.org/docs/app/api-reference/next-config-js/turbo#webpack-loaders
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Link to the code that reproduces this issue
https://github.com/paulm17/turbopacksvgerror
To Reproduce
Clone repo: https://github.com/paulm17/turbopacksvgerror pnpm i pnpm run dev
Works without --turbo.
Current vs. Expected behavior
SVG should show up when --turbo is being used.
Provide environment information
Which area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
server component error
"use client" error