mirror of
https://github.com/peakoss/anti-slop
synced 2026-12-01 13:39:13 +08:00
build: include all dependencies in the build
- 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
This commit is contained in:
1 file changed
+2
@@ -3,6 +3,8 @@ import { defineConfig } from "tsdown";
|
|||||||
|
|
||||||
const config: UserConfig = defineConfig({
|
const config: UserConfig = defineConfig({
|
||||||
entry: ["./src/index.ts"],
|
entry: ["./src/index.ts"],
|
||||||
|
noExternal: [/.*/],
|
||||||
|
inlineOnly: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
Reference in new issue
Block a user