vue-cli icon indicating copy to clipboard operation
vue-cli copied to clipboard

There are some "const" in the app-legacy.xxx.js file ("browserlist" is "Android >= 3")

Open YGYOOO opened this issue 4 years ago • 1 comments

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".

YGYOOO avatar Aug 05 '22 11:08 YGYOOO

+1

pagnkelly avatar Aug 20 '24 08:08 pagnkelly