Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fizker/karma-react-jsx-preprocessor
A karma preprocessor for compiling React JSX files
https://github.com/fizker/karma-react-jsx-preprocessor
Last synced: 4 days ago
JSON representation
A karma preprocessor for compiling React JSX files
- Host: GitHub
- URL: https://github.com/fizker/karma-react-jsx-preprocessor
- Owner: fizker
- Created: 2014-02-01T23:07:50.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-19T04:44:28.000Z (over 9 years ago)
- Last Synced: 2024-04-26T23:02:03.103Z (7 months ago)
- Language: JavaScript
- Size: 196 KB
- Stars: 5
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
karma-react-jsx-preprocessor
============================A [karma preprocessor](http://karma-runner.github.io/) for compiling
[React JSX](http://facebook.github.io/react/) files.Version 0.1.x should be compatible with the 0.10.x version of Karma.
How to use
----------It is really simple: Add a preprocessor clause to the karma conf file, and it
will automatically transform the .jsx files.module.exports = function(config) {
config.set({
preprocessors: {
'**/*.jsx': [ 'react-jsx' ]
},// the rest of the config should be here
})
}