Skip to content
New issue

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

error: Uncaught (in promise) Error: Expected a JavaScript or TypeScript module, but identified a Unknown module. Importing these types of modules is currently not supported. #10

Closed
ayame113 opened this issue Aug 7, 2022 · 0 comments · Fixed by #11

Comments

@ayame113
Copy link
Owner

ayame113 commented Aug 7, 2022

import { transpile } from "https://deno.land/x/ts_serve@v1.2.0/mod.ts";
transpile(
  `import { render } from "https://esm.sh/react-dom@17.0.2";`,
  new URL("file:///src.tsx"),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant