babel-preset-preact-app

One babel preset to rule all your Preact apps.

MIT License

Downloads
43
Stars
11

babel-preset-preact-app

Features

  • Latest ECMAScript feature (babel-preset-env)
  • Transform async/await and generator
  • Transform decorator
  • Automatically add h declaration if file contains JSX tags

Install

yarn add babel-preset-preact-app --dev

Usage

{
  "presets": ["preact-app"]
}

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

babel-preset-preact-app © egoist, Released under the MIT License. Authored and maintained by egoist with help from contributors (list).

egoistian.com · GitHub @egoist · Twitter @_egoistlily