vitejs / vite-plugin-vue

Vite Vue Plugins
MIT License
504 stars 155 forks source link

Some module packaging results affect browser cache utilization,such as plugin-vue:export-helper and vite/modulepreload-polyfill and vite/preload-helper #79

Open meizilove258 opened 1 year ago

meizilove258 commented 1 year ago

Related plugins

Description

Problem description address: https://mp.weixin.qq.com/s/vlvTXYRgtbhW3-RkuaV2Mg

Problem sample code address: https://github.com/meizilove258/vite-code-split.git

Suggested solution

plugin-vue:export-helper and vite/modulepreload-polyfill and vite/preload-helper, pull out a single file.

image

Alternative

No response

Additional context

No response

Validations

meizilove258 commented 1 year ago

@yyx990803