Convert existing legacy library to es6 module
16:53 29 Mar 2017

Note: this is a continuation of: Convert old JavaScript code into ES6 module .. which resolved the OPs problem but did not provide an answer.

All modern browsers now include native es6 modules (except for chrome which will land shortly we hope). The question is how to convert existing libraries to es6 modules using this native support.

This is for current projects that use no transpiling (webpack, babel, system.js, etc) for their own use, but have dependencies on legacy code.

Do any of the existing workflow tools have support for converting/wrapping older libraries to be es6 importable? I'd really like to avoid using