babel-preset-crocodile
This is an opinionated Babel configuration for CrocodileJS.
It adds the presets es2015
and stage-0
for you!
Install
First add the configuration to your package.json
file:
npm i --save-dev babel-preset-crocodile
Then create a new file called .babelrc
, and its contents should be:
That's it! Of course you will need to know how to use Babel from here.