brillout / wildcard-api

Functions as API.
MIT License
368 stars 14 forks source link

Prebuilt client code served via CDN #28

Closed bbarr closed 4 years ago

bbarr commented 4 years ago

I have just bundled locally and am using that without issue so far, but would love to have an official (and updated) build available for projects that don't use any bundlers.

Edit: Also, fantastic job.. This has felt very clean and really fast to learn!

brillout commented 4 years ago

Hi @bbarr

I'm not shipping a bundled version of @wildcard-api/client because I'm assuming that the vast majority of frontend stacks use a bundler nowadays.

So I'm curious; what's your frontend stack?

Would delivering a @wildcard-api/client bundle with unpkg solve your problem?

Edit: Also, fantastic job.. This has felt very clean and really fast to learn!

Thanks, I appreciate your kind words.

bbarr commented 4 years ago

Definitely, a UMD bundle or something on unpkg would solve it. If no one else picks this up soon, I can take a shot at a PR.

And most of my projects target modern browsers, so my "stack" has reverted to just HTML, CSS, and JS static files. It's fun, like 2008 again but without IE :)

brillout commented 4 years ago

And most of my projects target modern browsers, so my "stack" has reverted to just HTML, CSS, and JS static files. It's fun, like 2008 again but without IE :)

Sounds fun indeed :-)

Have you heard about Snowpack?

If no one else picks this up soon, I can take a shot at a PR.

Would love to! I guess we can use a zero-config bundler here such as Parcel. Or Rollup? Your PR would then simply just diff package.json.

brillout commented 4 years ago

I'm curious; where did you hear about Wildcard?

Thanks for the PR :heart_eyes: