Removing Comments
See original GitHub issueHi,
I’m probably missing something simple here but after getting babili working with my gulp build step the final output is still including comments, is there a particular option I should be setting or is there an expectation to use something else to strip comments?
gulp.src([
path.join(__dirname, 'src', '**', '*.js'),
path.join(__dirname, '..', '..', 'lib', '**', '*.js')
])
.pipe(sourcemaps.init())
.pipe(rollup({
entry: path.join(__dirname, 'src', 'index.js')
}))
.pipe(babel({
presets: ['babili']
}))
.pipe(sourcemaps.write())
.pipe(rename(pkg.main))
.pipe(gulp.dest(destPath))
Cheers, Matt
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:9 (3 by maintainers)
Top Results From Across the Web
How to Remove Comments in Word (3+ Ways)
To remove a comment, click Delete in the Comments group. You can also click the arrow below Delete and click Delete or Delete...
Read more >Removing Comments and Tracked Changes from a Word ...
How to Remove the Comments ... In the menu at the top of the Word document, click the Review tab. ... Go to...
Read more >How to remove comments in Word (or hide ... - YouTube
Enroll in my Microsoft Word Master Course 🎓 and become a PRO: https://learnmsword.com/youtube-special/How to remove comments in Word?
Read more >How to REMOVE and HIDE comments in Word (w/ Shortcuts)
Learn how to REMOVE and HIDE comments in Word so that you can quickly declutter your workspace and focus on your task at...
Read more >How to remove comments in Word - Adobe
Select the Review tab from Word's top toolbar. Select the small arrow under the Delete button. Select Delete All Comments In Document. Before...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Updated solution since the renaming:
Update: Solved it. I was confused by the docs, but then I understood it 😄 Changing my comment, leaving the correct method here.
This is what you should in your
.babelrc
/package.json