@sirse-dev/esbuild-plugin-import-glob
v0.0.1
Published
ESBuild plugin to support import.meta.glob imports
Downloads
15
Readme
esbuild-plugin-import-glob
Installation
In your esbuild start script:
import { build } from 'esbuild';
import importGlobPlugin from '@sirse-dev/esbuild-plugin-import-glob';
build({
plugins: [importGlobPlugin()],
})
To install TypeScript types, add to your tsconfig.json file:
{
"compilerOptions": {
/* ... */
},
"include": [/* ... */, "@sirse-dev/esbuild-plugin-import-glob/client.d.ts"]
}