Skip to content

add support for deno #472

@javadbat

Description

@javadbat

Troubleshooting

What happens and why is it incorrect

recently I've been trying to move my entire design-system build and test process to Deno.
what makes it hard is the different approach between nodejs typescript and deno typescript module path-finding methods.
deno wants us to import modules by file name extension like "../foo/bar.ts" but the node says we must import ts and js without the file extension. currently, I solve this by creating different workspaces for my front-end and builder codes that use Deno.

is there any way we can configure the bundler to ignore file extension so it would be acceptable by both rollup-typescript2 and Deno?

Environment

Deno and windows
the repository I'm working on is https://github.com/javadbat/design-system

Versions

1.4

1.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    problem: removed issue templateOP removed the issue template without good causescope: integrationRelated to an integration, not necessarily to core (but could influence core)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions