-
I've made an example repo demonstrating the problem: https://github.com/pwalker/twirpscript_package_name_repro
The gist is this, if I import another proto file and there is a message name collision…
-
不好意思占用一个issue,不过确实找不到相关的资料了才来问的
实际项目里这个包的占比最大,想看看能不能减少点bundle size,比如按需引入,类似于echarts:
```js
import ReactEChartsCore from "echarts-for-react/lib/core";
import echarts from "echarts/lib/echarts";
…
-
I am pretty sure I am missing something, but heres my problem:
```js
// a.js
import "./b.js"
// b.js
function sum(a, b) {
return a + b;
}
// build.js
import esbuild from "esbuild";
esbuild…
-
We need to get the client bundle size _much_ smaller.
-
**描述bug**
In wujie-vue2, wujie-vue3, wujie-react, setupApp, preloadApp, bus, destroyApp functions are all assigned as a property of the default export, which is treeshaking unfriendly, i think it…
-
### Problem Statement
I just updated from 6.19.6 to 6.19.7 and sentry added over 10kB to my entrypoint!! That is incredibly big difference in size. So unfortunately for the sake of performance I do…
-
### 相关平台
H5
**浏览器版本: Chrome 62**
**使用框架: React**
### 复现步骤
执行taro init,然后执行npm run build:h5
### 期望结果
未使用的包被treeshaking掉
### 实际结果
未使用的包依然被打包到了产物中
项目初始化后,直接执行npm run build:h5。 可以看…
-
### What package has an issue
@mantine/tiptap
### Describe the bug
Tree shaking not working for @mantine/tiptap package.
Looks like `"sideEffects": false` is missing from [mantine-tiptap/package.j…
-
### Kind of Issue
Bug
### This issue concerns the...
NPM package
### Package Version
8.0.0
### Other Software
None
### Description
In v8, the tree-shaking capability is missin…
-
```typescript
// vite.config.ts
import { resolve } from 'path'
import reactSWC from '@vitejs/plugin-react-swc'
import { defineConfig } from 'vite'
import { cjsInterop } from 'vite-plugin-cjs-in…