I'm sure we all agree with the fact that compiling a module for browsers is often a huge mess and a lot of headaches, there are so many different tools with complex configurations that you easily get lost.I was tired of that, so I created Lyo, an opinionated compiler that doesn't need any configuration to work. In fact, Lyo is nothing more than a wrapper of other tools (Browserify, Babel and UglifyJS).With Lyo installed globally ($ npm i -g lyo), transpiling your module for browsers shouldn't be harder than running a single command: $ lyo.And because you cannot expect every maintainer to provide transpiled code, Lyo also works with other people's modules.If you need a transpiled version of query-string for example, just run $ lyo get query-string, and it's done.I think Lyo will help two types of developers:- module maintainers who don't want to spend hours configuring and automating complex build steps- people who just want a .min.js for their projects, but only have access to node-compatible modulesI hope you like it, suggestions are welcome, of course 👍
Submitted September 18, 2018 at 07:08AM by brskbk
No comments:
Post a Comment