squarewolf / gulp-neuter

Unifies javascript source files in the order you require
MIT License
2 stars 6 forks source link

neuter coffee #4

Open serega104 opened 10 years ago

serega104 commented 10 years ago

Can I do something like below, or do I have to save js to disk first?

.pipe(gulp-coffee())
.pipe(gulp-neuter(...))
.pipe(dist(...))
tvervest commented 10 years ago

That should work fine :+1:

The goal of the plugin was to not to have to persist intermediary files to the filesystem anymore, so piping is supported (otherwise why make a gulp plugin? :wink:).

serega104 commented 10 years ago

Hi, thanks for the reply. I only asked because i must have been doing something wrong or not setting options correctly. I only got the content of the main js in the out minus requires, but not the rest of scripts.

On Wednesday, April 23, 2014, Thomas Vervest notifications@github.com wrote:

That should work fine [image: :+1:]

The goal of the plugin was to not to have to persist intermediary files to the filesystem anymore, so piping is supported (otherwise why make a gulp plugin? [image: :wink:]).

— Reply to this email directly or view it on GitHubhttps://github.com/squarewolf/gulp-neuter/issues/4#issuecomment-41134329 .

Sent from Gmail Mobile

tvervest commented 10 years ago

I smell a bug ;)

Could you extract a minimal test case from your project that has the same result? I'll look into the cause, as it should at the very least return a descriptive error if loading of the files failed.