Skip to content

Clarify gulpfile.babel.js example in the README #2191

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

Closed
wants to merge 1 commit into from
Closed

Clarify gulpfile.babel.js example in the README #2191

wants to merge 1 commit into from

Conversation

joeyquarters
Copy link

This PR updates the README example to achieve parity with the require syntax example and contain error-free code.

Background
When following the code example for creating a gulpfile.babel.js, I noticed that there was some funkiness in these lines. Specifically, it would actually throw an error due to redefining const clean. Hopefully this clears that up and makes the documentation easier to follow for users.

Feedback welcome 😃

@stephenlacy
Copy link
Contributor

All the examples and documentation are getting a full re-write in this pr: #2182

@joeyquarters
Copy link
Author

Ah, woops - didn't see that. Will close.

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