Open cybercoder-naj opened 3 months ago
This is probably related to aot mode not working with minification because some variable names are renamed
aot mode works by creating code and evaluating it at runtime (I would prefer Elysia make this feature disabled by default)
What version of Elysia.JS is running?
1.1.3
What platform is your computer?
Linux 6.6.32-1-lts x86_64 unknown
What steps can reproduce the bug?
git clone --single-branch --branch reproduction/build-minify https://github.com/cybercoder-naj/logestic
cd logestic
.bun run build
; and previewbun run preview
. It worksbun run build:minify
; and previewbun run preview
. It doesn't workWhat is the expected behavior?
Minify should correctly bundle the library contents to integrate with Elysia.
What do you see instead?
Elysia app does not start when it is using the minified code.
Additional information
No response