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
The text was updated successfully, but these errors were encountered:
Xli33
changed the title
Error compiling when importing other asset from external module
Error compiling when importing sub asset from external module
May 2, 2023
this is the simple vite plugins config
and i wanna import the locales from 'view-ui-plus' at node_module, so it's like this
import msgs from 'view-ui-plus/dist/locale/zh-CN'
however the import view-ui-plus/dist/locale/zh-CN is compiled to
http://localhost:8000/node_modules/.@yellowspot_vite-plugin-external/view-ui-plus.cjs/dist/locale/zh-CN
it's because the
view-ui-plus
is replaced withnode_modules/.@yellowspot_vite-plugin-external/view-ui-plus.cjs
there's a reproduction here
┭┮﹏┭┮
The text was updated successfully, but these errors were encountered: