Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jul 6, 2025. It is now read-only.
Discussion options

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 :)

You must be logged in to vote

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

Comment options

currently, the tsc just transpiles the code, the bundler i'm working on it will support the tree shaking by swc.

You must be logged in to vote
1 reply
@shadowtime2000
Comment options

The bundler is being created in #28

Answer selected by shadowtime2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.