2 ms·
The install parameter you provide already requires yarn and the rather large ember-cli, in addition to requiring my app to be built on top of glimmer instead of
by vorpalhex 10y ago
The install parameter you provide already requires yarn and the rather large ember-cli, in addition to requiring my app to be built on top of glimmer instead of with it.
How can this possibly be considered remotely lightweight, especially compared to something like Mithril? I count at least 12 repos on your github that seem to be integral components including a dedicated CLI!
- nkristoffersen 10y agoYou shouldn't be deploying a CLI into production. While I haven't looked closely at this particular system, guaranteed you are not deploying the CLI. Just using the CLI to create deployable code. When people say "lightweight" they mean small sizes over the wire. The final size of the production/deployment code. Not the development code.
- lyime 10y agoWhy is the size of the CLI a concern?
- Touche 10y agoWhat I think the GP is saying, and I agree, is that the CLI makes Glimmer the center of your world and not just another library you use. MomentJS doesn't come with a CLI tool to use it. You just use it.
- EvilTrout 10y agoThose are only the build tools, and trust me you want a great build pipeline when dealing with Javascript these days! In the screencast it shows that when you deploy you just get a javascript file for your components that should be super small.
- tomdale 10y agoA legitimate question! One thing people really love about Ember is that the process for going from nothing to a working app is very streamlined. Typically, this is not the case with smaller component libraries. Personally, I think there's a market for opinionated tools on this side of the simplicity spectrum. Another aspect of this is that more complex build tools can often do better analysis of your app and move more work to build time, improving the boot and/or runtime performance of your app. For me, I'll trade a longer npm install time if it leads to a better experience for users. That said, all of the Glimmer packages are distributed as AMD, CommonJS and JavaScript modules on npm[0], with a `module` field and everything in their package.json. While it's not as turnkey as using Ember CLI, I hope people feel empowered to experiment with whatever their favorite build tools are. [0]: https://www.npmjs.com/org/glimmer https://www.npmjs.com/org/glimmer