esm.sh
esm.sh copied to clipboard
`external=` option doesn't apply on imports with `/` e.g. `external=css-in-js-utils/*`
Repro:
https://esm.sh/v99/[email protected]?dev&external=css-in-js-utils%2F*- Follow import to
https://esm.sh/v99/[email protected]/X-ZS9jc3MtaW4tanMtdXRpbHM/es2022/inline-style-prefixer.development.js
Expect: css-in-js module to be imported as an external.
Actual:
// esm-build-0efbdc249b7c8359f5afc7af9c495c986c375902-46c791ab/node_modules/inline-style-prefixer/es/plugins/crossFade.js
import isPrefixedValue from "/v99/[email protected]/es2022/lib/isPrefixedValue.development.js";
var prefixes2 = ["-webkit-", ""];
function crossFade(property, value) {
Ah, the external= doesn't apply when the import is css-in-js-utils/…
thanks for reporting, i will look into it