mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-03-13 10:30:18 +08:00
* 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>
20 lines
434 B
TypeScript
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,
|
|
},
|
|
});
|