Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 733 Bytes

README.md

File metadata and controls

44 lines (28 loc) · 733 Bytes

generator-babel-plugin-x

Babel Plugin generator for Yeoman.

中文文档

Usage

Install yeoman and the generator globally

$ npm i -g yo
$ npm i -g generator-babel-plugin-x

Run the generator

$ yo babel-plugin-x

Run the generator from v7

$ yo babel-plugin-x:v7

Run the generator from v7-ts

$ yo babel-plugin-x:v7-ts

If you want to create additional fixtures in your tests:

$ yo babel-plugin-x:fixture name-of-fixture

To understand babel plugin development in more detail see the babel plugin handbook

License

MIT