You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do NOT ignore this template or your issue will have a very high chance to be closed without comment.
Describe the bug
I have a depency moment that is depended by another dependency @alicloud/console-components. They are optimized together. But if I import moment in src, it will result in another module request, and the moment module will be eval tiwce.
We probably should normalize the module request when optimizing(rollup external config) and import-rewriting.
Describe the bug
I have a depency
moment
that is depended by another dependency@alicloud/console-components
. They are optimized together. But if I importmoment
insrc
, it will result in another module request, and themoment
module will be eval tiwce.We probably should normalize the module request when optimizing(rollup external config) and import-rewriting.
Reproduction
https://github.com/csr632/test-vite
System Info
vite
version: 0.16.2vue
version (fromyarn.lock
orpackage-lock.json
)@vue/compiler-sfc
versionThe text was updated successfully, but these errors were encountered: