Answers for "Setting up babel in NodeJS"

1

'babel-node' npm

npm install --save-dev @babel/node
Posted by: Guest on August-05-2020
0

set up babel

"scripts": {
    "babel": "babel --presets es2015 js/main.js -o build/main.bundle.js",
    "start": "http-server"
},
Posted by: Guest on June-13-2021

Browse Popular Code Answers by Language