Wei

Results 290 comments of Wei

it's not easy to solve the issue by this way, vue-tsc 2 changed a lot. We need to figure out a new way to integrate with it.

> Can you descibe this limitation better and any ideas? This restriction comes from the test case regression. When there is more than one chunk in a chunkGroup (such as...

@alexander-akait > Can you describe this limitation better and any ideas? ### **tl;dr** the modern bundled library idea is built on top of a well-worked concatenate module in top-level, but...

> @fi3ework Sound good for me, can we convert it in checkboxes/tasks to track progress (also we already solved some cases) @alexander-akait As discussed above, the tree shakable output this...

Updated the PR and clean the tasks remain. There are some known configurations will break the ESM output, however they won't be used in most actual uses, and I think...

There's been a breaking change since vue-tsc@2. I took a look into the code and found that it's impossible to use the former method to integrate with vue-tsc 🥲. Since...

These two plugins are very similar functionality. Using one plugin will be a good practice. Close for long-time inactive. Feel free to re-open if a minimal reproduction could be provided.

It seems like https://github.com/privatenumber/resolve-pkg-maps is an alternative to https://github.com/lukeed/resolve.exports. Maybe we could move to resolve-pkg-maps as resolve.exports hasn't been maintained for a while. There is some difference described in https://github.com/privatenumber/resolve-pkg-maps#how-is-it-different-from-resolveexports,...

Have updated this PR with `resovled.exports` 2.0. Looking for some code reviews. 👀

FWIW, I also ported [@open-wc/dev-server-hmr](https://github.com/open-wc/open-wc/tree/c5444f79ac863d68abdbf84e5c49d9b07223bd1c/packages/dev-server-hmr) as a Vite plugin here https://github.com/fi3ework/vite-plugin-web-components-hmr. Which is used by https://github.com/toeverything/blocksuite now. Have a try. 🤌🏻