@oazmi/esbuild-plugin-deno
Version:
A portable non-invasive suite of esbuild plugins for loading http, jsr, npm, and import-maps. Supports Deno, Node, Bun, Web. Alternate to @luca/esbuild-deno-loader , while compatible with other plugins and native esbuild resolvers (e.g. css loader).
35 lines (34 loc) • 664 B
JavaScript
export default {
"base64": [],
"binary": [".bin", ".dat"],
"copy": [],
"css": [".css"],
"dataurl": [],
"default": [],
"empty": [],
"file": [
".jpg",
".jpeg",
".png",
".gif",
".svg",
".webp",
".bmp",
".tiff",
".ico",
".mp4",
".webm",
".ogg",
".avi",
".mp3",
".wav",
".aac"
],
"js": [".js", ".mjs", ".cjs"],
"json": [".json"],
"jsx": [".jsx"],
"local-css": [".module.css"],
"text": [".txt", ".html", ".md", ".xml", ".csv"],
"ts": [".ts", ".mts", ".cts"],
"tsx": [".tsx"]
};