next.js
9dfdf713 - Turbopack: RawEcmascriptModule (#81806)

Commit
90 days ago
Turbopack: RawEcmascriptModule (#81806) Add a JS module type that does no analysis, and just concatenates the source file into the output file. As a consequence however, the input module cannot have - `import`s/`require`s/`new Worker`/... - ~~`process.env.*` that should be replaced~~ - JSX/any new syntax, since the module won't be transpiled using the user's browserslist ``` before: ✓ Starting... ✓ Ready in 335ms ○ Compiling / ... ✓ Compiled / in 980ms GET / 200 in 1258ms after: ✓ Starting... ✓ Ready in 406ms ✓ Compiled / in 406ms GET / 200 in 692ms ``` <img width="1358" height="959" alt="Bildschirmfoto 2025-09-16 um 12 09 47" src="https://github.com/user-attachments/assets/87bb3161-8749-475b-9a84-bf62324735e4" /> <img width="1352" height="939" alt="Bildschirmfoto 2025-09-16 um 12 12 48" src="https://github.com/user-attachments/assets/4a42e724-7090-4ca7-bad9-41e5cf1af80b" />
Author
Parents
Loading