Lazy Closure Compiling #4112
Replies: 2 comments 1 reply
-
First things firstThis tool aims to make never ending command lines magically disappear. Please note : bugs could magically appear. Goals
RulesTo make things run smoothly :
How it works :
Compile modesbundle
standalone
Compile typesdebug
release
Default options
Compile configuration
Sample projects
Compiled NodeJS serverSingle file ES5 server x) HTTP/S, URL & error handling, GET && POST, cookies, multi-module, static files, and more stuff. chaotic undocumented code, but the index.min.js runs smoothly |
Beta Was this translation helpful? Give feedback.
-
I like this one, not updated for a while. Also I use it a lot for private projects, several museums and exhibitions in France. & interesting MediaStreams / audio / video processing experiments . |
Beta Was this translation helpful? Give feedback.
-
Following issue #4109
No choice yesterday, production code with warnings :(
I've been using Closure Compiler for a while, lots of personal & professional projects.
At the beginning I had one compile script per project (Linux or Windows), then I had to run different compile scripts within the same projects, and I got lazy.
Closure Compiler can export JavaScript to better JavaScript.
Vanilla ice cream is beautiful, command lines and frameworks are painful.
I wrote some code with a simple goal :
My friends call it "the horrible code that produces nice code" 🤓
It is indeed horrible, but three years later, smooth late night hours :)
NPM, CommonJS, one and only dependency : google-closure-compiler
The full project can export other painful things :
Using other dependencies :
It can also compile some NodeJS CJS server into a single file, no node_modules black hole. Hardcore code, wonderful output.
I'm the only user, no need docs, but here it is ! Very basic, copy paste Markdown from Gitlab, see below.
Some codes are running on my jailbroken iPad1 iOs 5.1.1, incredible !
I'd be very pleased to share ideas and learn more Closure things
Thanks !
Also I chatted with Bard for the first time a few days ago, about Closure compiler, had a lot of fun.
And more questions ...
Beta Was this translation helpful? Give feedback.
All reactions