Closed Mqxx closed 1 week ago
The plugin is published with an esm bundle (dist/index.mjs) that your runtime should pick up automatically. You can import it either as a default import or using the exported function, e.g.
import dtsPlugin from "esbuild-plugin-d.ts";
// or
import { dtsPlugin } from "esbuild-plugin-d.ts";
Okay, thanks for the information! Maybe you could update the readme so that others can see this 👍
Hey, how can I use this plugin using ES6 import syntax instead of common js require?