Menci

Results 168 comments of Menci

It makes sense! I didn't find any real world Vite output example of `export {} from "...";` statements so I didn't implement that. I had many assumptions of Vite's output...

你原本项目的 Vite target 是什么?我的原理是首先以 esnext 编译然后转译,很可能是做了一些 transpile 变成这样的。这里 import_meta 看起来像是上面有一个 const import_meta = import_meta_available ? import.meta : some_polyfill 之类的东西?

能提供一个复现吗

I added tests and fixed the transform logic. The `export ... from` statement should NOT be transformed to `import { id } from` and `export { id }`. We shouldn't...

Yes. I'm sorry it's broken. I didn't handle source-map.

But I have no idea of how to implement this...

This PR is enabling source map for this plugin's building, not for Vite building with this plugin running. So, it has nothing to do with that issue. @muhammadhafizmm I don't...