koistya / gulp-render

Pre-render React components at compile time. E.g. SomePage.jsx -> some-page.html
MIT License
26 stars 9 forks source link

UMD support #4

Open AGresvig opened 10 years ago

AGresvig commented 10 years ago

One of my pages is require-ing an AMD module. This works fine at runtime, when Webpack is in charge, but when pre-rendering using this plugin I'm getting an error; define is not defined.

I'm not sure I understand exactly how this plugin works, but would it be possible to add Webpack and/or UMD support?

Thanks