Added to the TiddlyWiki Toolmap <https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM> under Developer/Advanced Tools.
On Tuesday, January 19, 2021 at 12:26:32 PM UTC-8 Flibbles wrote: > Some people want a minified version of the TW5 core, but it'd be too much > work to maintain. > Some people think it should remain uncompressed for the sake of editors, > but TW5 continues to grow by the day. > Some developers compress their plugins, making efficient code, but it's a > pain for anyone debugging it. > Some developers leave their plugins uncompressed, but that means it's > larger than necessary for 90% of all end-users. > > Now there's a solution for everybody: TW5-uglify. > > This is a plugin primarily designed to be used by a Node.JS server. Your > server has access to all your uncompressed and unpacked plugins, which is > fine, since servers have the speed and memory for it. But what it sends to > browsers are fully compressed plugins. Your little smart phones and tablets > get the efficient TW5 they deserve. > > Or maybe you're a plugin developer who wants to minify their code. Now you > no longer have to resort to using npm-gulp like some kind of chump. Your > build process can remain an entirely TiddlyWiki process. > > Or maybe you want to miniify your standalone TiddlyWiki file. You can, > but... think hard about this before you do it. Because unlike with > TW5-Uglified server, compressing your standalone files is a one-way > process. You'll forever have compressed code unless you download a new > Tiddlywiki, redownload all your plugins, and transfer all your tiddlers > from your old file. But hey! Maybe you're running TiddlyWiki on your 2000 > era Nokia phone in an wifi wasteland. Then go ahead. > > Check it out. > Here's the demo site. <https://flibbles.github.io/tw5-uglify/> > And here's the github page <https://github.com/flibbles/tw5-uglify>. > > Let me know what you all think. > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d4f6ccaa-4530-4bad-878f-c987b03a07b2n%40googlegroups.com.

