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

Failed to import - https://esm.sh/gh/eavidy/test_case/main.js (This repository is a simple example) #781

Open
eavidy opened this issue Dec 29, 2023 · 1 comment
Labels
browser Not working in Browser

Comments

@eavidy
Copy link

eavidy commented Dec 29, 2023

This repository is a simple example: https://github.com/eavidy/test_case

/deps/action.js:

export * from "https://esm.sh/@actions/core@1.10.1";

/main.js:

import { info } from "./deps/action.js";
info("hi");

Open the link in the browser to see incorrect imports https://esm.sh/gh/eavidy/test_case/main.js

/* esm.sh - gh/eavidy/test_case@1d1bbcf8d0/main */
import "/v135/https:@latest/es2022//esm.sh/@actions/core@1.10.1.js";   //here
export * from "/v135/gh/eavidy/test_case@1d1bbcf8d0/es2022/main.js";
export { default } from "/v135/gh/eavidy/test_case@1d1bbcf8d0/es2022/main.js";
@eavidy eavidy added the browser Not working in Browser label Dec 29, 2023
@ije
Copy link
Member

ije commented Dec 29, 2023

thanks, i will check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser Not working in Browser
Projects
None yet
Development

No branches or pull requests

2 participants