-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
Description:
Most modern browsers now support EcmaScript modules with import / export syntax.
This means that people could start importing and using modules on the web without having to use something like Webpack or Browserify to make bundles which IMO makes it a lot easier to experiment with these things.
ESM also gives us an obvious way to import and publish complicated dependencies. If somebody has a cool a-frame plugin that they built, users can make use of it by simply importing it from the URL it's published at without doing the CommonJS compiling dance or requiring authors to pre-compile their plugins.
Ultimately, I think this will make it easier for people to create small bits of reusable aframe code and reduce the barrier to entry for new users and help grow the ecosystem while promoting modern JavaScript practices.