Yunfei He
Yunfei He
@underfin Please describe how you gonna solve this issue before submitting an PR. I prefer how esbuild handle this, but the rollup's solution does show some advantages.
How about we just keep generating imports from external modules ```js import ext from 'ext' import { a } from 'ext' console.log(ext, a, require('ext')) ``` become ```js import ext from...
> Because the complete code of iife format should be like this. Are you proposing ```js import ext from 'ext' import { a } from 'ext' console.log(ext, a, require('ext')) ```...
I do see the advantages of rollup's implementation. But I wonder the the real-world usage of `exports` and `Module` on case ```js var Module = (function(exports) { console.log(ext, ext.a, require('ext'));...
Some references: - https://github.com/evanw/esbuild/issues/2277#issuecomment-1140364784 - https://github.com/evanw/esbuild/issues/3740 - https://github.com/evanw/esbuild/issues/3562
Thanks you for reporting the bug, but it's really hard to find the cause without a small reproduction. I'll keep it in mind.
> Maybe its also a problem that I have 6 entry points so the strictExecutionOrder might change depending which entry point comes first? The order of `input` matters. If your...
> If you know only certain AST node types can have empty/non-unique spans After we support custom transform, we can't be sure what certain nodes will have empty/non-unique spans. It's...
This is not required/urgent request. I raise this issue mainly due to I feel like this is thing oxc need to support in the end. So You could just stablize...
https://github.com/oxc-project/oxc/issues/3485 Could be related. Hope `builder pattern` is optional. Kind of hope the API is friendly for compiler to checkout breaking or unexpected changes. If the API requires users to...