UnicodeLetters regular error of lang.js after vue build

problem description

vendor file has regular error after vue js compression

the environmental background of the problems and what methods you have tried

after the project build, deploy on the local tomcat server, the page is blank, and there is a regular error in the vendor file.
I don"t know where this rule came from, so I don"t know where to start.

related codes

/ / Please paste the code text below (do not replace the code with pictures)
regular

in vendor.js.
j="a-zA-Z-----------";

after using map, you can see that it is regular in node_modules/vue/src/core/util/lang.js in vue.esm.js.

var unicodeLetters = "a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD";

may be a compression error in build

what result do you expect? What is the error message actually seen?

of course I don"t want to report an error.
the error message you see is:

Uncaught SyntaxError: Invalid regular expression: /[^a-zA-Z-----------.$_\d]/: Range out of order in character class

this error is usually caused by your miswriting of the regular expression. There is no escape where it should be escaped.


change all regular / to / /, but you need to change it in node_modules/vue/dist.vue.esm.js to take effect

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e6ea95-1f6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e6ea95-1f6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?