How to convert ES6 into ES5? in intranet environment

the environment is an intranet development, without the Internet, how to convert ES6 to ES5? Or does babel still work? How do I use it if I can use it? Sincerely ask for advice

Jan.11,2022

intranet environment? Why don't you package it with npm on the external network and then go to the intranet to develop it?


all the things that can be transferred need tools, and there are also browsers that can be transferred online. Github has it, but how can you do it without the Internet? The suggestion is to set up the webpack environment at home and use it after coming to the company. If you can't even bring in the things downloaded at home, then transfer it manually


someone has unplugged the source code on babeljs.io, and with a little modification, you can do babel translation offline. link here . If necessary, take a look at


this has nothing to do with the network environment, but it is troublesome to install the package. You can directly configure the development environment of the project in the case of a network, and then develop in the private network, or set up the npm image server of the intranet.


after external installation, just copy the node_modules and send it to the internal network


has nothing to do with the network.
if the company cannot access the external network, it's over. You can't install the dependency, or as said in the building, find the npm image server of the entire intranet, and specify the source address to the intranet server when installing the dependency.

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-1c1e6db-333f6.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-1c1e6db-333f6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?