0.1.2 • Published 9 years ago

karma-jsx v0.1.2

Weekly downloads
1
License
WTFPL
Repository
github
Last release
9 years ago

karma-jsx

A karma preprocessor for compiling React JSX 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
	})
}