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
{{ message }}
This repository was archived by the owner on Jun 14, 2025. It is now read-only.
What platform is your computer? Copy the output of npx envinfo --system -npmPackages cleye --binaries
System: OS: macOS 15.3.1 CPU: (10) arm64 Apple M1 Pro Memory: 293.03 MB / 32.00 GB Shell: 4.0.0 - /opt/homebrew/bin/fish
Describe the bug
Hi there, 👋🏻
It seems that the latest version introduced a new build system, but this build system does not handle the using keyword correctly during compilation.
This causes my Vite application to fail with the following error:
failed to load config from /Users/romainlanz/workspace/xxx/vite.config.ts
error when starting dev server:
SyntaxError: Unexpected identifier 'result'
at compileSourceTextModule (node:internal/modules/esm/utils:344:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:106:18)
at #translate (node:internal/modules/esm/loader:490:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:537:27)
The error is triggered by this line:
using result=transform(id,program,tsSource,options.typia);
Is it expected that the using keyword is not compiled?
Reproduction
I haven’t created a reproduction yet, but I can provide one if needed.
Validations
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.