FranckFreiburger / vue3-sfc-loader

Single File Component loader for Vue2 and Vue3. Load .vue files directly from your HTML. No node.js environment, no build step.
MIT License
1.03k stars 116 forks source link

Browser compatibility seems to have not taken effect after adjusting the configuration #192

Closed wsqrin closed 2 months ago

wsqrin commented 2 months ago

Hello sir After adjusting the browserslist multiple times in the package.json file and using the build web command to package it, the size of the generated vue3-sfc-loader.js remained unchanged and remained at 1796KB. I don't know if my configuration hasn't taken effect. I need to be able to run it on Google 70 version, and in version 0.8, I made similar configurations and packaged it to run on Google 58 version.

I have been running your work in a production environment for over 3 years. In the past, some users were unable to use their phones due to browser compatibility issues. Therefore, if I want to upgrade now, I need to solve compatibility issues. Thank you.

package.json configuration: { "browserslist": "> 0.5%, last 2 versions, Firefox ESR, not dead, ie >= 10, chrome >= 58", }

img2024-04-28-001 img2024-04-28-002

FranckFreiburger commented 2 months ago

Hi wsqrin, I was wondering what the problem was and how you solved it ?