Comments (4)
It looks like there is a setter for this on CompilerOptions (if you have your own subclass of either CommandLineRunner or AbstractCommandLineRunner, or if you directly create your own Compiler instance), but this isn't presently exposed via command line flags.
closure-compiler/src/com/google/javascript/jscomp/CompilerOptions.java
Lines 2489 to 2491 in ff2c49e
from closure-compiler.
Yes, setting it to 0 will tell it not to break at all.
from closure-compiler.
Yes, setting it to 0 will tell it not to break at all.
How do I set it to 0? (I use the command line)
from closure-compiler.
It seems we haven't exposed a command-line option for setting this value.
Here's the file where one would add that and an example option to copy.
If you'd like to submit a PR, we'll be happy to review and merge it.
Or you could just change the constant value in your download of our sources and rebuild.
from closure-compiler.
Related Issues (20)
- com.google.guava vulnerability issue in closure-compiler-20220502 HOT 4
- Assigning a variable while passing to a function fails AC HOT 6
- A for loop compiles incorrectly in WHITESPACE_ONLY and SIMPLE_OPTIMIZATIONS HOT 3
- CommandLineRunner: "renaming cannot be disabled when ADVANCED_OPTIMIZATIONS is used" is wrong HOT 4
- "Copyright The Closure Library Authors" always shows up as the first comment even in code that is ultimately not Apache 2.0 licensed HOT 2
- ADVANCED compilation mode incorrectly removes non-dead code HOT 7
- BUG in Whitespace only for online compiler
- Extern definitions for WebGPU HOT 4
- Google Closure Compiler on Mac with M3 chip HOT 2
- Concatenated template literals are not merged
- java.lang.RuntimeException: INTERNAL COMPILER ERROR. HOT 3
- INTERNAL COMPILER ERROR: Cannot invoke "com.google.javascript.rhino.PMap.isEmpty()" because "that" is null HOT 1
- Removal of non deprecated method SourceFile fromInputStream HOT 3
- Closure minification adds \uxxxx escapes into output file, increasing code size HOT 2
- Piping Closure compiler stderr output to Python with Unicode characters on Windows problem HOT 6
- Dataflow analysis appears to diverge around: WHILE 28288:118 HOT 1
- closure-compiler-unshaded v20240317 embeds jakarta.annotation-api HOT 5
- How does --warnings_allowlist_file works? I tried many ways but no luck HOT 6
- JSC_INEXISTENT_PROPERTY_WITH_SUGGESTION is hidden if the inexistent property is set in unrelated code. HOT 2
- Keep long bigint literals in hexadecimal format HOT 5
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 closure-compiler.