一笑
一笑
The above two cases are different, the first one is a constructor invocation, the second one is a function declaration. You can use `@__PURE__` to make a specific function call...
Oh, I get it.
Scripts set in manualChunks are loaded directly in front page, instead to be lazy loaded when needed
I have some confusion about this issue, i use build.rollupOptions.output.manualChunks and import() in other project. Finally, i didn't find this issue. And, the reproducible repo isn't simple.
Scripts set in manualChunks are loaded directly in front page, instead to be lazy loaded when needed
I created a minimal repo, and it works. ## step 1. git clone -b vite-issue-5189-temp https://github.com/TrickyPi/issue-repo 2. see reproduce.md.
Scripts set in manualChunks are loaded directly in front page, instead to be lazy loaded when needed
I think this "issue" is unrelated to the Vite's default chunking strategy.
The more concise reproducible case: https://rollupjs.org/repl/?version=4.12.0&shareable=JTdCJTIyZXhhbXBsZSUyMiUzQW51bGwlMkMlMjJtb2R1bGVzJTIyJTNBJTVCJTdCJTIyY29kZSUyMiUzQSUyMmltcG9ydCUyMCU3QiUyMHN1cHBvcnRzUGFzc2l2ZSUyMCU3RCUyMGZyb20lMjAnLiUyRm1hdGhzLmpzJyUzQiU1Q24lNUNuZXhwb3J0JTIwY2xhc3MlMjBUb3VjaEJhY2tlbmRJbXBsJTIwJTdCJTVDbiUyMCUyMGNvbnN0cnVjdG9yKCklMjAlN0IlNUNuJTIwJTIwJTIwJTIwY29uc3QlMjBvcHRpb25zJTIwJTNEJTIwc3VwcG9ydHNQYXNzaXZlKCklMjAlM0YlMjAlN0IlMjBjYXB0dXJlJTJDJTIwcGFzc2l2ZSUzQSUyMGZhbHNlJTIwJTdEJTIwJTNBJTIwY2FwdHVyZSUzQiU1Q24lMjAlMjAlMjAlMjBjb25zb2xlLmxvZyhvcHRpb25zKSUzQiU1Q24lMjAlMjAlN0QlNUNuJTdEJTVDbiUyMiUyQyUyMmlzRW50cnklMjIlM0F0cnVlJTJDJTIybmFtZSUyMiUzQSUyMm1haW4uanMlMjIlN0QlMkMlN0IlMjJjb2RlJTIyJTNBJTIybGV0JTIwc3VwcG9ydGVkJTIwJTNEJTIwZmFsc2UlM0IlNUNuJTVDbmJiYigoKSUyMCUzRCUzRSUyMCU3QiU1Q24lMjAlMjBzdXBwb3J0ZWQlMjAlM0QlMjAhc3VwcG9ydGVkJTNCJTVDbiU3RCklM0IlNUNuJTVDbmV4cG9ydCUyMGNvbnN0JTIwc3VwcG9ydHNQYXNzaXZlJTIwJTNEJTIwKCklMjAlM0QlM0UlMjAlN0IlNUNuJTIwJTIwcmV0dXJuJTIwc3VwcG9ydGVkJTNCJTVDbiU3RCU1Q24lMjIlMkMlMjJpc0VudHJ5JTIyJTNBZmFsc2UlMkMlMjJuYW1lJTIyJTNBJTIybWF0aHMuanMlMjIlN0QlNUQlMkMlMjJvcHRpb25zJTIyJTNBJTdCJTIyb3V0cHV0JTIyJTNBJTdCJTIyZm9ybWF0JTIyJTNBJTIyZXMlMjIlN0QlMkMlMjJ0cmVlc2hha2UlMjIlM0ElN0IlMjJtb2R1bGVTaWRlRWZmZWN0cyUyMiUzQWZhbHNlJTdEJTdEJTdE
Wow, thank you so much for your professional and patient guidance! I will thoroughly digest this knowledge (object property tree-shaking) and then work on implementing it.
Hi, Lukas! I reopened this PR. There are three main changes. - The first one is replacing all `include(...)` with `includePath(...)`. - The second change is extending `includePath` function in...
Closed as using xxhash in V4.
Bug here.  the `css-in-js` style override `hidden` style, and antd v5 doesn't import `reset.css` by default.