lazopm / simple-babel

simple babel transpiling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Babel

Installation

  • npm install

Transpiling

npm run transpile will convert any scripts inside the src directory and output them to dist.
It will also copy the babel polyfill script to that directory.

Including the polyfill

You must include polyfill.min.js before using any transpiled scripts.

    <script src="polyfill.min.js"></script>

About

simple babel transpiling


Languages

Language:JavaScript 100.0%