-
Hi @dimfeld - I was reviewing my app for some potential optimizations and noticed that a lot of the components exported by Svelte Maplibre are importing the entire maplibre-gl lib, is it possible to t…
-
This may be more a question than an issue, because esbuild is probably working as intended. I am bundling a file that imports a dependent library that uses bigint and exports that code. The code b…
-
As I understand, tree shaking is not properly supported currently. I was thinking we could make this a tracking issue and get an overview for what needs to happen in order to get it working.
-
# Motivation
I wrote some very simple code to run in a browser and print a full year of פרשה names:
```ts
import { HebrewCalendar } from '@hebcal/core'
const events = HebrewCalendar.calendar({…
SLaks updated
3 weeks ago
-
SSR/RSC 研发场景下,本地开发阶段需要实时生成 server 产物,倘若没有 tree-shaking,会出现 client 模块被打入 server 产物,导致渲染报错的情况
所以需要支持:
- build watch 的时候 tree-shaking 仍然生效
- 同时允许不压缩代码便于排查问题
-
This library is great, but is also quite big.. I just want a small little tooltip, and it costs me 60KB unzipped counting v-tooltip and popper.. Could you support tree shaking in order to use only wha…
-
### Rollup Version
4.27.2
### Operating System (or Browser)
Linux on WSL2
### Node Version (if applicable)
_No response_
### Link To Reproduction
https://rollupjs.org/repl/?version=4.27.2&share…
-
### Version:
- `@inertiajs/svelte` version: 1.2.0
### Describe the problem:
**1. The router**
Just importing the router (`@inertiajs/core`) instantly adds 110KB to the final, minified unco…
-
### Rollup Version
4.27.2
### Operating System (or Browser)
MacOS 14.3
### Node Version (if applicable)
21.6.0
### Link To Reproduction
https://rollupjs.org/repl/?version=4.27.2&s…
-
### Is your feature request related to a problem? Please describe.
Without tree-shaking, importing axios is always huge
### Describe the solution you'd like
Making Axios tree-shakable