You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webcomponents are shipped as ES6 modules, so we should add the "type": "module" field to package.json to make it more explicit and enable node.js to precess the imports as ESM.
There are a few things to be addressed that are written as common js and fail when setting the type to module:
all configuration files list package-scripts.js will need to become either .cjs and the tooling should find them or they should become ESM too (if the tooling supports this)
test specs are CJS right now, shoul become .cjs or be rewritten to ESM
further adaptations to the tools package necessary to make all current scripts run
The text was updated successfully, but these errors were encountered:
webcomponents are shipped as ES6 modules, so we should add the "type": "module" field to package.json to make it more explicit and enable node.js to precess the imports as ESM.
more information:
https://nodejs.org/api/packages.html
There are a few things to be addressed that are written as common js and fail when setting the type to module:
package-scripts.js
will need to become either.cjs
and the tooling should find them or they should become ESM too (if the tooling supports this).cjs
or be rewritten to ESMThe text was updated successfully, but these errors were encountered: