systemjs / plugin-babel

SystemJS Babel Plugin
MIT License
82 stars 33 forks source link

add support for plugin configuration #11

Closed mikz closed 8 years ago

mikz commented 8 years ago

in a form of plugins: [["name", options], ["other-name", otherOptions]]

like:

babelOptions: {
    "plugins": [
      [ "react-transform", {
        "transforms": [{"transform": "react-transform-jspm-hmr"}]
      }]
    ]
}

With this, I'm able to configure https://github.com/gaearon/babel-plugin-react-transform with correct transformations. The whole project available at https://github.com/mikz/jspm-react-hot-reload.

guybedford commented 8 years ago

Perfect, thanks so much.

mikz commented 8 years ago

@guybedford thanks for all the awesome work! :star: :star2: :star: