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