geelen / jspm-loader-jsx

A hot-reloading JSX plugin for JSPM
21 stars 2 forks source link

Tools removal #3

Closed kevrom closed 9 years ago

kevrom commented 9 years ago

Resolving Issue #2. Removing react-tools, so that the plugin will let System.js handle the transpilation.

danieldunderfelt commented 9 years ago

Infinite votes for this!

geelen commented 9 years ago

Right, so this means you have to add:

babelOptions: {
   blacklist: []
}

to your config.js for this to work? Can you update the README if so?

kevrom commented 9 years ago

Yeh, good point. System.js currently has JSX transpilation with Babel disabled by default. So you have to supply an empty array to remove JSX from the blacklist. JSX is enabled by default in the beta though, afaik. I can add it to the README so it's clear.

geelen commented 9 years ago

Ok cool, I got this to run locally, I just had to do a jspm dl-loader to get an updated version of Babel (for some reason). Gonna release.

geelen commented 9 years ago

v0.0.2 published!