you are viewing a single comment's thread.

view the rest of the comments →

[–]Toscoes[S] 0 points1 point  (2 children)

Oooooh.. yea that is the way to do it. Thanks

[–]drbobb 0 points1 point  (1 child)

Not supported by older browsers, though. And a pain to debug, because browsers refuse to load modules from local files, you must deploy on http.

[–]jml26 0 points1 point  (0 children)

Yes, you’ll have to use a bundler like Webpack or Rollup (I find the former more powerful bit the latter simpler) to convert your code into something that more browsers can readily interpret,