Comments aren't stripped
See original GitHub issue🐛 bug report.
🎛 Configuration package.json
npx parcel build index.html
🤔 Expected Behavior
Production build should output smallest file possible.
😯 Current Behavior
In production build there still are my silly comments.
🌍 Your Environment
Software | Version(s) |
---|---|
Parcel | 1.5.0 |
Node | 8.9.4 |
npm/Yarn | npm 5.6.0 |
Operating System | macOS 10.13.2 |
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Comments are not stripped form commit template - TortoiseGit
I would expect that comments are stripped from the commit message / template when committing, just like when committing from the command line....
Read more >Unable to strip comments in webpack bundle js file
I have been trying to strip comments in the webpack bundled js file. I have tried several methods but it's not working still...
Read more >Comments - Sass
By default, multi-line comments be stripped from the compiled CSS in compressed mode. If a comment begins with /*! , though, it will...
Read more >HTML comments getting stripped on one vhost but not the rest
So I have multiple vhosts. The one that my main site is on has HTML comments all stripped for the client, but the...
Read more >Utility to Strip Comments from LaTeX Source - TeX
The following code (similar to what I posted yesterday) will not eat commented lines that appear within a verbatim environment. Here is the ......
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 Free
Top 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
I still see this issue as of
"parcel": "^2.0.0-nightly.980"
.I think this should be reopened. My CSS comments weren’t deleted after building for production. example: /* !display: block;!/ / !width: 139.3px;!/ / !left: 0px;!*/
These may seem like non standard but are Intellij way of commenting comments and should be supported