babel-preset-preact

2.0.0 • Public • Published

babel-preset-preact

Babel preset to transform JSX into h() calls.

Install

Via NPM

npm install babel-preset-preact --save-dev

or Yarn

yarn add babel-preset-preact --dev

Usage

Make or update your .babelrc config file with the preset:

{
  "presets": [
    "preact"
  ]
}

Via package.json

   ...
   "babel": {
     "presets": [
       "es2015",
       "preact"
     ],
     "plugins": [
     ]
   },
   ...

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    11,102
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    11,102
  • 1.1.0
    494
  • 1.0.0
    1

Package Sidebar

Install

npm i babel-preset-preact

Weekly Downloads

11,597

Version

2.0.0

License

MIT

Unpacked Size

2.29 kB

Total Files

4

Last publish

Collaborators

  • developit
  • jmas