Skip to content

Babel preset to transform JSX into h() calls

License

Notifications You must be signed in to change notification settings

developit/babel-preset-preact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Babel preset to transform JSX into h() calls

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •