babel js

Published: 24 May 2020
on channel: Programming with Karthik
274
3

babel js
Babel is a free and open-source JavaScript transcompiler
GitHub url: https://github.com/ksathiya88/babel-s...

1)Create a Project
npm –init

2)Install the necessary packages
npm install --save-dev @babel/core @babel/cli @babel/preset-envnpm install @babel/polyfill

3)Create a configuration file
.babelrc

4)Add to the script in package.json
"scripts": {"babel": "./node_modules/.bin/babel src -d dist"},

5)Run Babel
npm run babel


Watch video babel js online without registration, duration hours minute second in high quality. This video was added by user Programming with Karthik 24 May 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 274 once and liked it 3 people.