undefinedfix
Sign in

How to transform ES6 into Es5 in Intranet environment?

czuqs edited in Wed, 18 May 2022

The environment is Intranet development. Without the Internet, how to transfer ES6 to Es5? Or does Babel work? How can I use it if I can? Sincerely ask for advice

6 Replies
Serket
commented on Wed, 18 May 2022

Someone put it in babeljs.io Pull down the source code, a little modification can be done offline Babel translation, link here, if you need to take a look down

Aloevine
commented on Wed, 18 May 2022

Intranet environment? You'd better use NPM to package the external network before you go to intranet development?

paradoxix
commented on Wed, 18 May 2022

You need tools to transfer everything. There are also browsers to transfer online. GitHub has, but how do you get off without the Internet? The suggestion is to set up a webpack environment at home and use it after you come to the company. If you can't bring in the things you download at home, you can transfer them manually

Amer
commented on Wed, 18 May 2022

This has nothing to do with the network environment. It's just a little 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 intranet, or set up the NPM image server in the intranet.

SrinivasSC
commented on Thu, 19 May 2022

Copy node modules after external installation Just send it to the intranet

DeveloperLee
commented on Thu, 19 May 2022

It has nothing to do with the network. If the company can't access the external network, then it's over. You can't install the dependency. Or as mentioned above, find the NPM image server of the whole intranet, and specify the source to the intranet server address when installing the dependency.

lock This question has been locked and the reply function has been disabled.