esm.sh icon indicating copy to clipboard operation
esm.sh copied to clipboard

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

Open eavidy opened this issue 1 year ago • 1 comments

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

/deps/action.js:

export * from "https://esm.sh/@actions/[email protected]";

/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/[email protected]";   //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 avatar Dec 29 '23 11:12 eavidy

thanks, i will check

ije avatar Dec 29 '23 11:12 ije