@leonardpauli/babel-preset
v0.2.1
Published
Personal babel preset
Downloads
3
Readme
@leonardpauli/babel-preset
Personal babel (javascript transpiling) preset
Usage
mkdir myproject && cd $_ && npm init -y
npm i -D @leonardpauli/babel-preset
echo '{"presets": ["@leonardpauli/babel-preset"]}' >> .babelrc
mkdir src && echo 'export default ()=> console.log(1)' >> src/main.js
babel src -d lib # transpiles files in src/ and puts result in lib/
Licensing
Created by Leonard Pauli, 2018-2019 License: ISC / MIT