esm.sh
esm.sh copied to clipboard
Failed to import - https://esm.sh/gh/eavidy/test_case/main.js (This repository is a simple example)
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";
thanks, i will check