esm.sh
esm.sh copied to clipboard
Error on Typescrip webpack based setup
Failing module
export { XMLParser } from "https://esm.sh/[email protected]";
I am doing an app to download xml data. I use typescript 4.9.5 webpack: 5.75.0 ts-loader: 9.4.2
Cannot find module 'https://esm.sh/[email protected]' or its corresponding type declarations.ts(2307) Consequently, no .js target is generated for the app to run
I don't understand. I read on your website that no npm package is available, unfortunately.
Can you help
esm.sh provides types via x-typescript-type header, currently only denoland.vscode-deno supports it