JakeChampion/polyfill-library

ES Modules

alexwilson opened this issue · 0 comments

What

ES Module polyfills: There are a number of features of ES Modules which, while standards track, aren't yet well supported in browsers. These include: Dynamic Imports and import.meta.resolve.

Details

ES Modules are a huge enabler, and dynamic imports allow building decoupled applications. However while ES Modules are relatively well supported, many of the features that build on them are not.

Additional information

There is a good collection of ES Module polyfills here, supported by @guybedford: https://github.com/guybedford/es-module-shims. It needs some configuring to fit the conventions of Polyfill.io but should work nicely.