This repository was archived by the owner on Aug 1, 2024. It is now read-only.
Release v0.2.0
Added functionality to resolve imports based on importmap
Importmap support
Importmaps are now supported so that we can resolve import using them like:
esbuildCachePlugin({
directory: cachePath,
importmap: {
imports: {
"preact": "https://esm.sh/preact@10.13.2"
}
},
}),
and then with the script
import * as preact from "preact";
Other changes
- Updated dependencies
- Updated esbuild