Please indicate whether you want the color picker to be distributed as a set of untranspiled ES modules by leaving a 👍🏻 or 👎🏻 reaction below.
Description
To give package users more flexibility, provide a set of untranspiled ES module bundles next to the already-existing transpiled bundles.
Motivation
The JavaScript package ecosystem will most likely move towards having package authors distribute untranspiled ES modules instead of transpiled UMD/AMD/CJS modules because that allows the consumer of the package to transpile according to their own needs rather than have the package author determine the browser support matrix.
For a package that contains a Vue.js component like this, there is only a limited need to take browser support into account. For example, this package uses CSS custom properties which cannot be polyfilled but which can be used in a way to not needlessly prevent them from being used in browsers not supporting them. Illustrative example:
p {
color: #222;
color: var(--text-color, #222);
}
In essence, if a package is distributed as an ES module without being transpiled, package consumers are free to transpile the package using their browser support matrix.
Please indicate whether you want the color picker to be distributed as a set of untranspiled ES modules by leaving a 👍🏻 or 👎🏻 reaction below.
Description
To give package users more flexibility, provide a set of untranspiled ES module bundles next to the already-existing transpiled bundles.
Motivation
The JavaScript package ecosystem will most likely move towards having package authors distribute untranspiled ES modules instead of transpiled UMD/AMD/CJS modules because that allows the consumer of the package to transpile according to their own needs rather than have the package author determine the browser support matrix.
For a package that contains a Vue.js component like this, there is only a limited need to take browser support into account. For example, this package uses CSS custom properties which cannot be polyfilled but which can be used in a way to not needlessly prevent them from being used in browsers not supporting them. Illustrative example:
In essence, if a package is distributed as an ES module without being transpiled, package consumers are free to transpile the package using their browser support matrix.