hyrious
hyrious
> "reverse engineer" the format and parse it in JS Just did that -- https://github.com/hyrious/bun.lockb. It's still experimental and useless (only translates the bun.lockb to yarn lockfile v1, no reverse),...
@sunshinexcode agora-token still has this problem. In fact, as a workaround, we did this: https://github.com/AgoraIO-Extensions/agora-rtc-react/blob/f4871f4ef21f09ca8ed0d58d37f2e0e8f7e1f4c5/package.json#L74-L77
This is because `"/js/pages/404.js"` is an absolute path. esbuild runs its node-behavior resolver against those paths in `import(path)` and `require(path)` and includes (bundles) them in the bundle. There's no such...
In addition to the plugin enhancement, I found another requirement that help to get rid of "bundle twice" -- by [enforce the order](https://vitejs.dev/guide/api-plugin.html#plugin-ordering). Not too many, only an `enforce: post`...
On GitHub, you can always find the content for `.github.io` at `github.com//.github.io` for any ``. So the source for [esbuild.github.io](https://esbuild.github.io/) is here: [esbuild/esbuild.github.io](https://github.com/esbuild/esbuild.github.io/tree/main/src/analyze). > Specifically, if it would be possible...
Here's the sample code to use that if it helps: ```js function countWordsViaIntl(text) { const segmenter = new Intl.Segmenter(void 0, { granularity: "word" }); const iterable = segmenter.segment(text); let i...
The `__export(is_equal_exports, {` and `__esm()` helpers are generated for any CommonJS-style imports. For example `import('./is-equal.mjs')` `require('./is-equal')`. This is because they captures the namespace object and esbuild doesn't know if outside...
> When you say "namespace object", I think you are referring to the "module object" in the case of ESM and the value of module.exports in the case of CJS,...
@microsoft-github-policy-service agree
@sandy081 Hi thanks for showing up. I have created an issue linked to this PR: https://github.com/microsoft/vscode/issues/250579