gulp-render icon indicating copy to clipboard operation
gulp-render copied to clipboard

webpack loaders support

Open dmnd opened this issue 10 years ago • 1 comments

I'm trying to use a webpack loader with gulp-render (Specifically, yaml-loader).

Maybe this is the same issue as #4. Things work fine via webpack, but since gulp-render gets called before webpack, when React tries to compile the file it interprets anything requireed as a Javascript file, causing a syntax error.

Is it easy to set up this plugin in a way where the React can rely on webpack loaders? I'm using this via https://github.com/kriasoft/react-starter-kit.

dmnd avatar Dec 15 '14 06:12 dmnd

I have the same issue w/ firebase.

davidascher avatar Dec 15 '14 19:12 davidascher