Closed rrrooommmaaa closed 1 year ago
Thanks for the proposal. Not sure if it's standard but it's indeed needed for ES6 in Node. To have proper support in this sense, I think we should also add type: "module"
to package.json , so that we can also drop the esm flag in tests . cc @twiss : you see any reason not to declare the library as a module?
We're having problems when loading the module in the browser extension with <script type="module" ... >
tag
We're having problems loading the script as module the way it is now, so we have to patch it before use. As I understand, it is current standard to have
.js
explicitly specified inimport
statements.