choo icon indicating copy to clipboard operation
choo copied to clipboard

Support for JavaScript modules

Open aaronshaf opened this issue 7 years ago • 6 comments

It'd be rad to be able to use choo in a no-build environment. Thanks!

aaronshaf avatar May 02 '18 23:05 aaronshaf

Which environments are you thinking of?

bcomnes avatar May 02 '18 23:05 bcomnes

Beaker Browser apps (offline, has Chrome's support for ES6 modules).

aaronshaf avatar May 02 '18 23:05 aaronshaf

Choo works in no-build electron now. It would be great if we could get no-build beaker support as well. Chrome as well, but I haven't seen any great examples of that, know of any? I'm guessing this will be trivial once Node.js (and by consequence, browserify) gets better es-modules support.

bcomnes avatar May 02 '18 23:05 bcomnes

we could publish an ES module bundle by browserifying choo/index.js and adding export default $BUNDLE. otherwise we'd have to add ES module support to all dependencies too.

goto-bus-stop avatar May 11 '18 09:05 goto-bus-stop

Thats an unfortunate catch 22

bcomnes avatar May 11 '18 16:05 bcomnes

Yes, module support would be super cool :)

perguth avatar Feb 19 '24 12:02 perguth