-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Gulp babili #318
Conversation
packages/gulp-babili/src/index.js
Outdated
|
||
module.exports = gulpBabili; | ||
|
||
function gulpBabili(_opts = {}) { |
There was a problem hiding this comment.
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
packages/gulp-babili/src/index.js
Outdated
|
||
/* remove comments */ | ||
shouldPrintComment(contents) { | ||
return shouldPrintComment(contents, commentsRegex); |
There was a problem hiding this comment.
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.
fuse-box that was just released uses gulp-uglify as well https://github.com/fuse-box/fuse-box/blob/461eeeeef5752e069b53de009554af7be145a499/gulpfile.js#L31 |
}); | ||
}); | ||
|
||
xit("should remove comments by default except license and preserve", () => { |
There was a problem hiding this comment.
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.
b7f798f
to
feed6a5
Compare
TODO: