Skip to content

answerrocket/react-jsx-loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

React JSX loader for webpack

Usage:

{..., loader: 'jsx-loader?harmony&es6module'}

You must install react-tools as a peer dependency, ideally pegged to the same version of React that you use at runtime.

To enable ES6 features, use ?harmony and/or ?es6module in your loader config.

Flow-style type annotations can be stripped using ?stripTypes.

In general, any flag that react-tools's transform options parameter will accept may be provided as a query parameter to this loader.

This fork has been updated to apply source maps from previous loaders to the source map output by react-tools.

About

JSX loader for React + webpack

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%