You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using [email protected] and the latest stable version of unbuild.
Reproduction
Create an unbuild repository, with ESNext target and module.
Use pnpm dlx jsr add @std/encoding (or any other Deno module)
Import the library in index.ts, and try to build.
See Unexpected token error.
Describe the bug
When using a TypeScript module in an unbuild module, the compiler gets confused and doesn't understand the Typescript-specific syntax (e.g.type foo = ... and const bar: foo = {}).
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
I'm using
[email protected]
and the latest stable version ofunbuild
.Reproduction
unbuild
repository, with ESNext target and module.pnpm dlx jsr add @std/encoding
(or any other Deno module)index.ts
, and try to build.Unexpected token
error.Describe the bug
When using a TypeScript module in an unbuild module, the compiler gets confused and doesn't understand the Typescript-specific syntax (e.g.
type foo = ...
andconst bar: foo = {}
).Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: