cramforce / splittable

Module bundler with support for code splitting, ES6 & CommonJS modules.
Apache License 2.0
945 stars 34 forks source link

Support babel-options #15

Closed ebertmi closed 7 years ago

ebertmi commented 7 years ago

I could not find a way to pass in specific babel options for transpiling jsx (in .js) files and to add some other presets.

dobbym commented 7 years ago

Can't you specify these in a .babelrc file?

cramforce commented 7 years ago

You can, but currently the babel output is ignored. I'm thinking about changing that. You'd only want to do it for stuff not supported by closure compiler, though (such as JSX), for best results

On Nov 21, 2016 11:58 AM, "David Merrilees" notifications@github.com wrote:

Can't you specify these in a .babelrc file?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cramforce/splittable/issues/15#issuecomment-262049667, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFeT5zPGTXjU5PYoPUNpmtNcZCrdEQQks5rAff4gaJpZM4K20Pn .

cramforce commented 7 years ago

See #31

cramforce commented 7 years ago

JSX is now supported.

ebertmi commented 7 years ago

Thanks