Closed bennlich closed 5 years ago
ES modules have come a long way, and MDN says import is now supported by most browsers. I'd love to import {choo} from 'choo.js'. Any recommendations? Does Bankai handle this?
import
import {choo} from 'choo.js'
:smiley_cat:
import choo from 'choo'
this should work in bankai, because it includes the Babel ES → CJS transform. choo doesn't ship an es modules build yet though
Thanks! I'll give this a shot.
ES modules have come a long way, and MDN says
import
is now supported by most browsers. I'd love toimport {choo} from 'choo.js'
. Any recommendations? Does Bankai handle this?:smiley_cat: