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

Gulp babili #318

Merged
merged 8 commits into from Mar 3, 2017
Merged

Gulp babili #318

merged 8 commits into from Mar 3, 2017

Conversation

boopathi
Copy link
Member

@boopathi boopathi commented Dec 3, 2016

TODO:

  • comments option doesn't work (@hzoo I don't know why shouldPrintComment is not called at all).
  • README


module.exports = gulpBabili;

function gulpBabili(_opts = {}) {
Copy link
Member Author

Choose a reason for hiding this comment

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

will change this and take 2 arguments instead for passing in custom babel, babili and comments


/* remove comments */
shouldPrintComment(contents) {
return shouldPrintComment(contents, commentsRegex);
Copy link
Member Author

@boopathi boopathi Dec 3, 2016

Choose a reason for hiding this comment

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

this is never called. I'm not sure why.

@kangax
Copy link
Member

kangax commented Dec 22, 2016

fuse-box that was just released uses gulp-uglify as well https://github.com/fuse-box/fuse-box/blob/461eeeeef5752e069b53de009554af7be145a499/gulpfile.js#L31

@kangax
Copy link
Member

kangax commented Jan 18, 2017

@boopathi @hzoo Guys, any chance to move this forward? Wish I could help but not familiar with Gulp at all.

});
});

xit("should remove comments by default except license and preserve", () => {
Copy link
Member Author

Choose a reason for hiding this comment

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

this test is disabled as it removes all comments by default.

@boopathi boopathi added the Tag: New Feature Pull Request adding a new feature label Jan 25, 2017
@boopathi boopathi merged commit bd6887a into master Mar 3, 2017
@boopathi boopathi deleted the gulp-babili branch March 3, 2017 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tag: New Feature Pull Request adding a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants