We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default.default
The ESM version published in dist/esm.js seems to contain a double wrapping of default. Trying to import the package in node REPL shows the issue:
dist/esm.js
default
> await import("color-hash") [Module: null prototype] { __esModule: true, default: { __esModule: true, default: [Function: ColorHash] } }
Trying the same with require looks fine:
require
> require("color-hash") { __esModule: true, default: [Function: ColorHash] }
The text was updated successfully, but these errors were encountered:
fix: handle zenozeng/color-hash#42
1d704fd
fd5a1e8
No branches or pull requests
The ESM version published in
dist/esm.js
seems to contain a double wrapping ofdefault
. Trying to import the package in node REPL shows the issue:Trying the same with
require
looks fine:The text was updated successfully, but these errors were encountered: