Skip to content

ryhinchey/babel-preset-crank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-preset-crank

Babel preset to transform JSX into Crank createElement calls.
Without this plugin you must add the comment /** @jsx createElement */ and import { createElement} from '@bikeshaving/crank'; to the top of every file you write Crank components in.

Install

npm install babel-preset-crank --save-dev

Usage

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

{
  "presets": [
    "crank"
  ]
}

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published