-
-
Notifications
You must be signed in to change notification settings - Fork 204
Closed
Labels
denoNot working in DenoNot working in Deno
Description
Failing module
- GitHub: https://github.com/tw-in-js/twind/tree/twind%401.0.5/packages/twind
- npm: https://www.npmjs.com/package/twind/v/1.0.5
This module is currently an alias for @twind/core. If you look at the index file in the source directory, you'll see all it does is the following:
export * from '@twind/core';If I try importing twind, twind.tx is undefined even though the types declaration expects it to be tx from @twind/core. If you log what twind is, it shows as being a Module and there appear to be no keys on it.
import * as twind from "https://esm.sh/[email protected]?target=deno&pin=v99";
console.log(typeof twind.tx)If I change to import what it's an alias for, that works correctly, tx is a function like you would expect it to be.
import * as twind from "https://esm.sh/@twind/[email protected]?target=deno&pin=v99";
console.log(typeof twind.tx)Additional info
- esm.sh version: 99
- Deno version: 1.29.1
Since I have a workaround of importing @twind/core directly, this isn't high priority for me. But I thought it would be good to report since it seems to show the re-export isn't working correctly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
denoNot working in DenoNot working in Deno