Comments (1)
Yes, minifiers will undo this.
Please, see README: https://github.com/nolanlawson/optimize-js#is-optimize-js-intended-for-library-authors
However, note that optimize-js should run after Uglify, since Uglify strips extra parentheses and also negates IIFEs by default. This also means that if your users apply Uglification to your bundle, then the optimization will be undone.
from optimize-js.
Related Issues (20)
- Benchmark script's improvement calculation is off a bit HOT 4
- Have you tested angularjs v1 and v2? HOT 1
- Use benchmark.js or similar, report standard deviation
- uglify > optimize source map HOT 1
- Not as optimized for Browserify as it could be. HOT 3
- Benchmark unfairly excludes compilation time. HOT 4
- Bad Readme example? HOT 2
- Benchmark doesn't appear to work.
- I made a Web UI for optimize-js
- Is there a browser side version? HOT 2
- Is the readme correct? HOT 1
- Made a Ruby gem
- Heuristic improvement: don't paren-wrap lazy-require()d modules
- Encoding problem HOT 2
- Memory leak HOT 3
- Reaches parse error with async functions
- Can you update tests in README to current browser versions? HOT 1
- Unrecognised character '#' on line 1
- Vulnerability GHSA-7FHM-MQM4-2WP7
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 optimize-js.