project is built using Node.js, and the page is written in the public folder in the root directory.
now some browsers (such as IE,360) do not recognize the writing of es6 (mainly using arrow function and ``, etc.).
how to solve this problem?
the solution now is to introduce a
< script src= "browser.min.js" > < / script >
in the html page first, and then introduce other js files with < script type= "text/babel" src= "> < / script > referencing,
but feel that this way affects the performance of the page a little bit, and the page loads slowly.
would you like to know how to solve it? (or do you want to change back to the way es5 is written? )