Fix: remove `declare function` statements that prevented free var rewriting
The `declare function __turbopack_*__` statements in the extracted modules
caused SWC to treat them as local bindings instead of free variables,
preventing Turbopack's free var rewriting from transforming them into
`__turbopack_context__.<shortcut>()` calls.
Also fixes prettier formatting for CI (which runs `prettier --check .`
without `--with-node-modules`).
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment