一笑
一笑
One workaround: write a plugin to resolve `@walletconnect/time` to ESM files, like the following code. ```js import path from "node:path"; ...... plugins:[ { resolveId(source) { if (source.endsWith("@walletconnect/time")) { return path.resolve(...
Could you provide a minimal reproducible repository? I feel there's nothing wrong in the output code.
Currently, we have no option/way to do this, but we can set `treeshake` to `false` to disable treeshake, I wonder why do you want this feature.
Closed by #5843
I'm not entirely sure if this issue is the same as #5955. Taking the `'return'` statement mapping as an example in #5955, the `segment[1]` in esbuild's generated sourcemap for `'return'`...
This issue is similar to issue #5955. The problem occurs because Rollup's rough sourcemap segments match with esbuild's rough sourcemap segments. This issue might be difficult to solve. We have...
Yeah, set `hires` to true or 'boundary' could resolve this issue, but the final sourcemap segments is so verbose. As for the second resolution, adding a mapping for '}' in...
I guess you are misunderstanding the `sourcemapIgnoreList` option, It only affects the `x_google_ignoreList` field in the sourcemap files. Currently, we don't have an easy way to exclude sourcemap generation for...
Do you expect the result of calling this function `dep.foo(dep)` is `bar`?
Yeah, I think it can be included in the `options` parameter, just like `attributes`.