vue-cli
vue-cli copied to clipboard
There are some "const" in the app-legacy.xxx.js file ("browserlist" is "Android >= 3")
Version
5.0.3
Environment info
node: v14.19.1
npm: 6.14.16
Steps to reproduce
vue create vue-test select "Default ([Vue 3] babel, eslint)" edit browserslist to ["Android >= 3"] npm run build
What is expected?
There is no es6 stuff (like "const") in dist/js/app-legacy.xxx.js file.
What is actually happening?
There are some "const" in dist/js/app-legacy.xxx.js file. It seems that each ".vue" file generates a "const".
+1