-
Couldn't load subscription status.
- Fork 166
-
I'm trying to understand why tree shaking is not working in aleph :)
import {myFunc} from "./myModule.ts";
const x = useDeno(() => myFunc());
I'm would expect if I only use myFunc on server why do I need to get all of that downloaded to my client? :) If myModule.ts depends on markdown parser or something like that, all of this is getting sent to client :) I can create sample example if my point is not clear, but I'm curios to just discuss this topic and if there are any plans to address this, maybe https://github.com/alephjs/react-io :)
Beta Was this translation helpful? Give feedback.
All reactions
currently, the tsc just transpiles the code, the bundler i'm working on it will support the tree shaking by swc.
Replies: 1 comment 1 reply
-
currently, the tsc just transpiles the code, the bundler i'm working on it will support the tree shaking by swc.
Beta Was this translation helpful? Give feedback.
All reactions
-
The bundler is being created in #28
Beta Was this translation helpful? Give feedback.