simple cli for "bundling without bs"?
See original GitHub issueEvery time I’m working on a (p)react PoC codebase, I wish there was a CLI that just allowed me to say CLItoolname entryfile outputfile
and not bother with any of the webpack, babel, etc. cruft that is completely irrelevant to build a bog standard bit of “it uses ES6, it uses JSX, it needs to become something I can load in the browser”.
Would it make sense to offer a CLI tool with preact that achieves that? And if it needs to install babel, webpack, etc. as part of its dependency tree, that’s cool, but there is nothing about those things I should have to configure if I just want to compile the kind of code that the README.md shows.
(Note that this is drastically different from a “preact-start-project” or the like: I just need to write some quick PoC code, with a tool that’ll bundle that PoC code, so I’m not looking for full framework-based project bootstrappers)
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (6 by maintainers)
Top GitHub Comments
As noted above, the preact-cli project resolves this and it is now prominently mentioned in the project’s README.
Yes - I updated the readme, and we could effect those changes on the website too.