Comments (2)
JSMin will insert new comments for you, as many as you like, at the top of the output file.
from jsmin.
I mean that jsmin shouldn't remove important comments like
/*! some vendor comment..... */
by example YUI minifier has a section on its code where preserve that type comments..
YUI compressor uses a modified version of Rhino to detect important comments which have the form /*! ... */. Important comments are preserved and present in the minified output from YUI compressor. This is a good thing as they are often used to include copyright and licensing information.
from jsmin.
Related Issues (18)
- Unterminated Regular Expression Error except when comment on next line HOT 4
- Unrecognized Regex Literals HOT 1
- c++ streambuf implementation HOT 1
- Any way to optimize Firefox JS files? HOT 3
- Regular expression literal can have its whitespace removed HOT 5
- Broken link on documentation site HOT 2
- JSmin removed spaces after literals in strings. HOT 14
- Jsmin doesn't treat backtick strings as strings HOT 6
- use_2to3 is invalid HOT 2
- Can we tag a release? HOT 1
- Over eager removal of whitespace HOT 4
- Preserve important comments e.g. copyright/ license information HOT 1
- JSMin gives error when parsing a specific string HOT 2
- Linefeeds in Javascript Strings HOT 1
- Licensing issues HOT 5
- Regex: / /g seems to be replaced by //g HOT 1
- Unary Plus operator (+) to convert boolean to number, preceded by addition operator causes JS syntax error HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsmin.