- eslint OK - import OK - jsdoc OK - node OK - oxc OK - promise OK - typescript OK - unicorn en cours
19 lines
406 B
TypeScript
19 lines
406 B
TypeScript
import type { UserConfig } from "tsdown";
|
|
|
|
import { defineConfig } from "tsdown";
|
|
|
|
const config: UserConfig = defineConfig({
|
|
checks: { circularDependency: true },
|
|
clean: true,
|
|
dts: { oxc: true, parallel: true },
|
|
entry: ["../index.ts"],
|
|
minify: false,
|
|
outDir: "../dist",
|
|
platform: "node",
|
|
publint: true,
|
|
sourcemap: false,
|
|
target: "esnext",
|
|
treeshake: true,
|
|
});
|
|
|
|
export default config;
|