Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 354 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 354 Bytes

JSX loader for webpack

Usage:

{..., loader: 'jsx-loader'}

To enable ES6 features, use ?harmony in your loader config. To auto insert the pragma required to process the file use the insertPragma parameter e.g. ?insertPragma=React.DOM. Flow-style type annotations can be stripped using ?stripTypes.