Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Rollup with rollup-stream" recipe. #1690

Merged
merged 2 commits into from
Jun 19, 2016
Merged

Add "Rollup with rollup-stream" recipe. #1690

merged 2 commits into from
Jun 19, 2016

Conversation

lemmabit
Copy link
Contributor

The code is essentially the same as the first two examples from rollup-stream's README.md. Once rollup-plugin-gulp earns the right to exist by having unit tests, I'll add a recipe for its use together with rollup-stream. That's assuming rollup-plugin-gulp turns out to be a good idea and not a horrifying aberration, of course.

// transform the code further here.

// if you want to output with a different name from the input file, use gulp-rename here.
// .pipe(rename('index.js'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation is off here. Should this just be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put the // at the start of the line so it would line up with the other .pipes. I'll change it if you want, but I prefer it this way myself.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks really weird when I view the rich diff. Align it with the // transform the code further here. line

@lemmabit
Copy link
Contributor Author

Alright, the indentation has been adjusted.

@phated phated merged commit b42acd9 into gulpjs:master Jun 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants