Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

babel-preset-preact

1.1.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"
     ]
   },
   ...

Keywords

none

install

npm i babel-preset-preact

Downloadsweekly downloads

1,354

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar