Files
RSSHub/tsdown-container.config.ts
dependabot[bot] 829d7f0055 chore(deps-dev): bump tsdown from 0.20.3 to 0.21.0 (#21317)
* chore(deps-dev): bump tsdown from 0.20.3 to 0.21.0

Bumps [tsdown](https://github.com/rolldown/tsdown) from 0.20.3 to 0.21.0.
- [Release notes](https://github.com/rolldown/tsdown/releases)
- [Commits](https://github.com/rolldown/tsdown/compare/v0.20.3...v0.21.0)

---
updated-dependencies:
- dependency-name: tsdown
  dependency-version: 0.21.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(config): `inlineOnly` -> `deps.onlyAllowBundle`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-06 23:13:23 +08:00

20 lines
434 B
TypeScript

import { defineConfig } from 'tsdown';
export default defineConfig({
entry: ['./lib/container.ts'],
outDir: 'dist-container',
format: 'esm',
minify: true,
clean: true,
platform: 'node',
target: 'esnext',
treeshake: true,
define: {
'process.env.NODE_ENV': JSON.stringify('production'),
},
external: ['@cloudflare/containers'],
deps: {
onlyAllowBundle: false,
},
});