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
{{ message }}
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
I'm adding a jspm section to a library of mine, but I'm confused by Configuring-Packages-for-jspm. What does "Module format esm (ECMAScript Module) currently isn't used in package.json" mean? In particular, "isn't used" by whom?
The text was updated successfully, but these errors were encountered:
By used it means used by JSPM. It actually is used. I think the documentation needs to be updated.
For example, say that the jspm section of your package specifies files that are distributed in a format other than CommonJS. This could be amd, esm, global, etc.
By specifying that property you provide metadata that enables the package to be loaded and bundled correctly.
For example, in the case of esm, people installing your package will be able to take advantage of rollup optimizations when they create a production build. It also means that the SystemJS loader doesn't have to attempt module format detection heuristics which enables your package to be transpiled faster and with no ambiguity as to format.
I'm adding a
jspm
section to a library of mine, but I'm confused by Configuring-Packages-for-jspm. What does "Module formatesm
(ECMAScript Module) currently isn't used in package.json" mean? In particular, "isn't used" by whom?The text was updated successfully, but these errors were encountered: