mirror of
https://github.com/peakoss/anti-slop
synced 2026-12-01 13:39:13 +08:00
- fixes [ERR_MODULE_NOT_FOUND] when running the action, as all external dependencies need to be bundled for GitHub actions to work - disable warning "Consider adding inlineOnly option to avoid unintended bundling of dependencies" by setting it to false as we need all dependencies bundled
11 lines
230 B
TypeScript
11 lines
230 B
TypeScript
import type { UserConfig } from "tsdown";
|
|
import { defineConfig } from "tsdown";
|
|
|
|
const config: UserConfig = defineConfig({
|
|
entry: ["./src/index.ts"],
|
|
noExternal: [/.*/],
|
|
inlineOnly: false,
|
|
});
|
|
|
|
export default config;
|