-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Issue Summary
Currently using Webpack for production builds due to Prisma 7 WASM query compiler incompatibility with Turbopack.
Current Workaround
- Dev: Uses Turbopack (
ext dev --turbopack) - works fine - Build: Uses Webpack (
ext build --webpack) - required for Prisma WASM
Root Cause
Prisma 7's WASM query compiler modules (\query_compiler_fast_bg.postgresql.mjs) aren't properly resolved by Turbopack during builds.
Error:
\
Module not found: Can't resolve '@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs'
\\
Affected Packages
- \prisma: 7.3.0
- @prisma/client: 7.3.0
- @prisma/adapter-pg: 7.3.0
ext: 16.1.x
Action Items
- Monitor Prisma releases for Turbopack support
- Monitor Next.js releases for improved WASM handling in Turbopack
- Test switching back to
ext build --turbopack\ when either is fixed - Consider opening upstream issue with Prisma if not already tracked
Related Links
Notes
Webpack build works but is slower than Turbopack. Re-enable Turbopack for builds once compatibility is resolved.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request