├── .editorconfig ├── .gitattributes ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ ├── feature_request.yml │ └── typo.yml ├── PULL_REQUEST_TEMPLATE.md ├── renovate.json5 └── workflows │ ├── autofix.yml │ ├── release-commit.yml │ ├── release.yml │ └── unit-test.yml ├── .gitignore ├── .node-version ├── .prettierignore ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── client.d.ts ├── docs ├── .vitepress │ ├── components │ │ ├── HomePage.vue │ │ ├── VideoModal.vue │ │ └── overrides │ │ │ └── vp-hero.vue │ ├── config │ │ ├── index.ts │ │ └── theme.ts │ ├── i18n │ │ ├── composable.ts │ │ ├── translate-map.ts │ │ └── utils.ts │ ├── scripts │ │ └── generate-reference.ts │ └── theme │ │ ├── Layout.vue │ │ ├── custom.css │ │ └── index.ts ├── advanced │ ├── benchmark.md │ ├── hooks.md │ ├── plugins.md │ ├── programmatic-usage.md │ └── rolldown-options.md ├── guide │ ├── faq.md │ ├── getting-started.md │ ├── index.md │ └── migrate-from-tsup.md ├── index.md ├── options │ ├── cjs-default.md │ ├── cleaning.md │ ├── config-file.md │ ├── dependencies.md │ ├── dts.md │ ├── entry.md │ ├── log-level.md │ ├── minification.md │ ├── output-directory.md │ ├── output-format.md │ ├── package-exports.md │ ├── platform.md │ ├── shims.md │ ├── sourcemap.md │ ├── target.md │ ├── tree-shaking.md │ ├── unbundle.md │ └── watch-mode.md ├── package.json ├── public │ ├── lightning-down.svg │ ├── og-image.png │ ├── og-image.svg │ └── tsdown.svg ├── recipes │ ├── react-support.md │ ├── solid-support.md │ ├── svelte-support.md │ └── vue-support.md ├── reference │ └── cli.md ├── tsconfig.json ├── uno.config.ts ├── vite.config.ts └── zh-CN │ ├── advanced │ ├── benchmark.md │ ├── hooks.md │ ├── plugins.md │ ├── programmatic-usage.md │ └── rolldown-options.md │ ├── guide │ ├── faq.md │ ├── getting-started.md │ ├── index.md │ └── migrate-from-tsup.md │ ├── index.md │ ├── options │ ├── cjs-default.md │ ├── cleaning.md │ ├── config-file.md │ ├── dependencies.md │ ├── dts.md │ ├── entry.md │ ├── log-level.md │ ├── minification.md │ ├── output-directory.md │ ├── output-format.md │ ├── package-exports.md │ ├── platform.md │ ├── shims.md │ ├── sourcemap.md │ ├── target.md │ ├── tree-shaking.md │ ├── unbundle.md │ └── watch-mode.md │ ├── recipes │ ├── react-support.md │ ├── solid-support.md │ ├── svelte-support.md │ └── vue-support.md │ └── reference │ └── cli.md ├── eslint.config.js ├── esm-shims.js ├── jsr.json ├── netlify.toml ├── package.json ├── packages ├── create-tsdown │ ├── package.json │ ├── src │ │ ├── cli.ts │ │ ├── index.ts │ │ └── run.ts │ └── tsdown.config.ts └── migrate │ ├── package.json │ ├── src │ ├── cli.ts │ ├── index.ts │ └── run.ts │ └── tsdown.config.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── src ├── cli.ts ├── config.ts ├── config │ ├── file.ts │ ├── index.ts │ ├── options.test.ts │ ├── options.ts │ ├── types.ts │ └── workspace.ts ├── features │ ├── cjs.ts │ ├── clean.ts │ ├── copy.ts │ ├── debug.ts │ ├── entry.test.ts │ ├── entry.ts │ ├── external.ts │ ├── hooks.ts │ ├── lightningcss.ts │ ├── node-protocol.ts │ ├── output.ts │ ├── pkg │ │ ├── attw.ts │ │ ├── exports.test.ts │ │ ├── exports.ts │ │ ├── index.ts │ │ └── publint.ts │ ├── report.ts │ ├── rolldown.ts │ ├── shebang.ts │ ├── shims.ts │ ├── shortcuts.ts │ ├── target.test.ts │ ├── target.ts │ ├── tsconfig.ts │ └── watch.ts ├── index.ts ├── plugins.ts ├── run.ts └── utils │ ├── chunks.ts │ ├── format.test.ts │ ├── format.ts │ ├── fs.ts │ ├── general.ts │ ├── lightningcss.test.ts │ ├── lightningcss.ts │ ├── logger.ts │ ├── package.ts │ └── types.ts ├── tests ├── __snapshots__ │ ├── banner-and-footer-option.snap.md │ ├── basic.snap.md │ ├── bundle-dts.snap.md │ ├── cjs-default.snap.md │ ├── cjs-import.snap.md │ ├── clean │ │ ├── should-clean-custom-directories.snap.md │ │ ├── should-clean-dist-directory-by-default.snap.md │ │ ├── should-clean-files-with-specific-extensions.snap.md │ │ ├── should-clean-multiple-patterns.snap.md │ │ ├── should-clean-nested-directories.snap.md │ │ ├── should-handle-clean-with-custom-outDir.snap.md │ │ └── should-not-clean-when-clean-is-false.snap.md │ ├── css │ │ ├── basic.snap.md │ │ ├── unbundle.snap.md │ │ └── with-dts.snap.md │ ├── custom-extension-with-empty-string.snap.md │ ├── custom-extension.snap.md │ ├── cwd-option.snap.md │ ├── dts-enabled-when-exports-types-exists.snap.md │ ├── dts-not-enabled-when-exports-is-string-instead-of-object.snap.md │ ├── dts-not-enabled-when-no-types-field-and-no-exports-types.snap.md │ ├── entry-structure.snap.md │ ├── env-flag.snap.md │ ├── esm-import.snap.md │ ├── fixed-extension.snap.md │ ├── hooks.snap.md │ ├── iife-and-umd.snap.md │ ├── import-meta-glob │ │ ├── async.snap.md │ │ └── eager.snap.md │ ├── inlineOnly │ │ └── work.snap.md │ ├── issues │ │ ├── 206.snap.md │ │ ├── 216.snap.md │ │ ├── 221.snap.md │ │ ├── 286.snap.md │ │ ├── 566.snap.md │ │ └── 61.snap.md │ ├── loader-option.snap.md │ ├── minify.snap.md │ ├── noExternal.snap.md │ ├── node-protocol │ │ ├── dynamic-imports-with-nodeProtocol-true.snap.md │ │ ├── mixed-imports-with-nodeProtocol-true.snap.md │ │ ├── nodeProtocol-default-false-.snap.md │ │ ├── nodeProtocol-false-no-modification-.snap.md │ │ ├── nodeProtocol-strip-same-as-removeNodeProtocol-true-.snap.md │ │ ├── nodeProtocol-true-add-node-prefix-.snap.md │ │ ├── removeNodeProtocol-takes-precedence-when-nodeProtocol-is-not-set.snap.md │ │ ├── should-handle-modules-that-require-node-prefix.snap.md │ │ ├── should-not-double-prefix-modules-that-already-have-node-prefix.snap.md │ │ ├── subpath-imports-with-nodeProtocol-true.snap.md │ │ └── with-require-polyfill-and-nodeProtocol-strip.snap.md │ ├── resolve-dependency-for-dts.snap.md │ ├── resolve-paths-in-tsconfig.snap.md │ ├── shims │ │ ├── cjs-on-neutral-w-o-shims.snap.md │ │ ├── cjs-on-node-w-o-shims.snap.md │ │ └── esm-on-node.snap.md │ ├── target │ │ ├── css-syntax-lowering.snap.md │ │ ├── js-syntax-lowering.snap.md │ │ ├── target-false-disables-all-syntax-transformations.snap.md │ │ ├── target-false-with-CSS-preserves-modern-syntax.snap.md │ │ ├── unnecessary-css-syntax-lowering.snap.md │ │ └── unnecessary-js-syntax-lowering.snap.md │ ├── unbundle │ │ ├── base-dir.snap.md │ │ └── basic.snap.md │ ├── without-hash-and-filename-conflict.snap.md │ └── workspace-option.snap.md ├── clean.test.ts ├── css.test.ts ├── fixtures │ └── issue-206 │ │ ├── .gitignore │ │ ├── package.json │ │ ├── packages │ │ ├── my-langs │ │ │ ├── css.mjs │ │ │ ├── html.mjs │ │ │ └── package.json │ │ ├── my-shiki │ │ │ ├── index.d.mts │ │ │ ├── index.mjs │ │ │ └── package.json │ │ ├── pkg1 │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ └── tsconfig.json │ │ └── pkg2 │ │ │ ├── package.json │ │ │ ├── src │ │ │ └── index.ts │ │ │ ├── tsconfig.json │ │ │ └── tsdown.config.mjs │ │ └── pnpm-workspace.yaml ├── index.test.ts ├── issues.test.ts ├── node-protocol.test.ts ├── setup.ts ├── shims.test.ts ├── target.test.ts ├── unbundle.test.ts └── utils.ts ├── tsconfig.json ├── tsdown.config.ts └── vitest.config.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: sxzz 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/typo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.github/ISSUE_TEMPLATE/typo.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/renovate.json5: -------------------------------------------------------------------------------- 1 | { 2 | extends: ['github>sxzz/renovate-config'], 3 | automerge: true, 4 | } 5 | -------------------------------------------------------------------------------- /.github/workflows/autofix.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.github/workflows/autofix.yml -------------------------------------------------------------------------------- /.github/workflows/release-commit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.github/workflows/release-commit.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/unit-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.github/workflows/unit-test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.gitignore -------------------------------------------------------------------------------- /.node-version: -------------------------------------------------------------------------------- 1 | lts/* 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | tests/__snapshots__ 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/README.md -------------------------------------------------------------------------------- /client.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/client.d.ts -------------------------------------------------------------------------------- /docs/.vitepress/components/HomePage.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/components/HomePage.vue -------------------------------------------------------------------------------- /docs/.vitepress/components/VideoModal.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/components/VideoModal.vue -------------------------------------------------------------------------------- /docs/.vitepress/components/overrides/vp-hero.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/components/overrides/vp-hero.vue -------------------------------------------------------------------------------- /docs/.vitepress/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/config/index.ts -------------------------------------------------------------------------------- /docs/.vitepress/config/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/config/theme.ts -------------------------------------------------------------------------------- /docs/.vitepress/i18n/composable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/i18n/composable.ts -------------------------------------------------------------------------------- /docs/.vitepress/i18n/translate-map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/i18n/translate-map.ts -------------------------------------------------------------------------------- /docs/.vitepress/i18n/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/i18n/utils.ts -------------------------------------------------------------------------------- /docs/.vitepress/scripts/generate-reference.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/scripts/generate-reference.ts -------------------------------------------------------------------------------- /docs/.vitepress/theme/Layout.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/theme/Layout.vue -------------------------------------------------------------------------------- /docs/.vitepress/theme/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/theme/custom.css -------------------------------------------------------------------------------- /docs/.vitepress/theme/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/.vitepress/theme/index.ts -------------------------------------------------------------------------------- /docs/advanced/benchmark.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/advanced/benchmark.md -------------------------------------------------------------------------------- /docs/advanced/hooks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/advanced/hooks.md -------------------------------------------------------------------------------- /docs/advanced/plugins.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/advanced/plugins.md -------------------------------------------------------------------------------- /docs/advanced/programmatic-usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/advanced/programmatic-usage.md -------------------------------------------------------------------------------- /docs/advanced/rolldown-options.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/advanced/rolldown-options.md -------------------------------------------------------------------------------- /docs/guide/faq.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/guide/faq.md -------------------------------------------------------------------------------- /docs/guide/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/guide/getting-started.md -------------------------------------------------------------------------------- /docs/guide/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/guide/index.md -------------------------------------------------------------------------------- /docs/guide/migrate-from-tsup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/guide/migrate-from-tsup.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/options/cjs-default.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/cjs-default.md -------------------------------------------------------------------------------- /docs/options/cleaning.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/cleaning.md -------------------------------------------------------------------------------- /docs/options/config-file.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/config-file.md -------------------------------------------------------------------------------- /docs/options/dependencies.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/dependencies.md -------------------------------------------------------------------------------- /docs/options/dts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/dts.md -------------------------------------------------------------------------------- /docs/options/entry.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/entry.md -------------------------------------------------------------------------------- /docs/options/log-level.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/log-level.md -------------------------------------------------------------------------------- /docs/options/minification.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/minification.md -------------------------------------------------------------------------------- /docs/options/output-directory.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/output-directory.md -------------------------------------------------------------------------------- /docs/options/output-format.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/output-format.md -------------------------------------------------------------------------------- /docs/options/package-exports.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/package-exports.md -------------------------------------------------------------------------------- /docs/options/platform.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/platform.md -------------------------------------------------------------------------------- /docs/options/shims.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/shims.md -------------------------------------------------------------------------------- /docs/options/sourcemap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/sourcemap.md -------------------------------------------------------------------------------- /docs/options/target.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/target.md -------------------------------------------------------------------------------- /docs/options/tree-shaking.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/tree-shaking.md -------------------------------------------------------------------------------- /docs/options/unbundle.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/unbundle.md -------------------------------------------------------------------------------- /docs/options/watch-mode.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/options/watch-mode.md -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/public/lightning-down.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/public/lightning-down.svg -------------------------------------------------------------------------------- /docs/public/og-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/public/og-image.png -------------------------------------------------------------------------------- /docs/public/og-image.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/public/og-image.svg -------------------------------------------------------------------------------- /docs/public/tsdown.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/public/tsdown.svg -------------------------------------------------------------------------------- /docs/recipes/react-support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/recipes/react-support.md -------------------------------------------------------------------------------- /docs/recipes/solid-support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/recipes/solid-support.md -------------------------------------------------------------------------------- /docs/recipes/svelte-support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/recipes/svelte-support.md -------------------------------------------------------------------------------- /docs/recipes/vue-support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/recipes/vue-support.md -------------------------------------------------------------------------------- /docs/reference/cli.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/reference/cli.md -------------------------------------------------------------------------------- /docs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/tsconfig.json -------------------------------------------------------------------------------- /docs/uno.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/uno.config.ts -------------------------------------------------------------------------------- /docs/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/vite.config.ts -------------------------------------------------------------------------------- /docs/zh-CN/advanced/benchmark.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/advanced/benchmark.md -------------------------------------------------------------------------------- /docs/zh-CN/advanced/hooks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/advanced/hooks.md -------------------------------------------------------------------------------- /docs/zh-CN/advanced/plugins.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/advanced/plugins.md -------------------------------------------------------------------------------- /docs/zh-CN/advanced/programmatic-usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/advanced/programmatic-usage.md -------------------------------------------------------------------------------- /docs/zh-CN/advanced/rolldown-options.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/advanced/rolldown-options.md -------------------------------------------------------------------------------- /docs/zh-CN/guide/faq.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/guide/faq.md -------------------------------------------------------------------------------- /docs/zh-CN/guide/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/guide/getting-started.md -------------------------------------------------------------------------------- /docs/zh-CN/guide/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/guide/index.md -------------------------------------------------------------------------------- /docs/zh-CN/guide/migrate-from-tsup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/guide/migrate-from-tsup.md -------------------------------------------------------------------------------- /docs/zh-CN/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/index.md -------------------------------------------------------------------------------- /docs/zh-CN/options/cjs-default.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/cjs-default.md -------------------------------------------------------------------------------- /docs/zh-CN/options/cleaning.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/cleaning.md -------------------------------------------------------------------------------- /docs/zh-CN/options/config-file.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/config-file.md -------------------------------------------------------------------------------- /docs/zh-CN/options/dependencies.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/dependencies.md -------------------------------------------------------------------------------- /docs/zh-CN/options/dts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/dts.md -------------------------------------------------------------------------------- /docs/zh-CN/options/entry.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/entry.md -------------------------------------------------------------------------------- /docs/zh-CN/options/log-level.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/log-level.md -------------------------------------------------------------------------------- /docs/zh-CN/options/minification.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/minification.md -------------------------------------------------------------------------------- /docs/zh-CN/options/output-directory.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/output-directory.md -------------------------------------------------------------------------------- /docs/zh-CN/options/output-format.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/output-format.md -------------------------------------------------------------------------------- /docs/zh-CN/options/package-exports.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/package-exports.md -------------------------------------------------------------------------------- /docs/zh-CN/options/platform.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/platform.md -------------------------------------------------------------------------------- /docs/zh-CN/options/shims.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/shims.md -------------------------------------------------------------------------------- /docs/zh-CN/options/sourcemap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/sourcemap.md -------------------------------------------------------------------------------- /docs/zh-CN/options/target.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/target.md -------------------------------------------------------------------------------- /docs/zh-CN/options/tree-shaking.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/tree-shaking.md -------------------------------------------------------------------------------- /docs/zh-CN/options/unbundle.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/unbundle.md -------------------------------------------------------------------------------- /docs/zh-CN/options/watch-mode.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/options/watch-mode.md -------------------------------------------------------------------------------- /docs/zh-CN/recipes/react-support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/recipes/react-support.md -------------------------------------------------------------------------------- /docs/zh-CN/recipes/solid-support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/recipes/solid-support.md -------------------------------------------------------------------------------- /docs/zh-CN/recipes/svelte-support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/recipes/svelte-support.md -------------------------------------------------------------------------------- /docs/zh-CN/recipes/vue-support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/recipes/vue-support.md -------------------------------------------------------------------------------- /docs/zh-CN/reference/cli.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/docs/zh-CN/reference/cli.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/eslint.config.js -------------------------------------------------------------------------------- /esm-shims.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/esm-shims.js -------------------------------------------------------------------------------- /jsr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/jsr.json -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/netlify.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/package.json -------------------------------------------------------------------------------- /packages/create-tsdown/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/packages/create-tsdown/package.json -------------------------------------------------------------------------------- /packages/create-tsdown/src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/packages/create-tsdown/src/cli.ts -------------------------------------------------------------------------------- /packages/create-tsdown/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/packages/create-tsdown/src/index.ts -------------------------------------------------------------------------------- /packages/create-tsdown/src/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/packages/create-tsdown/src/run.ts -------------------------------------------------------------------------------- /packages/create-tsdown/tsdown.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/packages/create-tsdown/tsdown.config.ts -------------------------------------------------------------------------------- /packages/migrate/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/packages/migrate/package.json -------------------------------------------------------------------------------- /packages/migrate/src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/packages/migrate/src/cli.ts -------------------------------------------------------------------------------- /packages/migrate/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/packages/migrate/src/index.ts -------------------------------------------------------------------------------- /packages/migrate/src/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/packages/migrate/src/run.ts -------------------------------------------------------------------------------- /packages/migrate/tsdown.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/packages/migrate/tsdown.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/config/file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/config/file.ts -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/config/options.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/config/options.test.ts -------------------------------------------------------------------------------- /src/config/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/config/options.ts -------------------------------------------------------------------------------- /src/config/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/config/types.ts -------------------------------------------------------------------------------- /src/config/workspace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/config/workspace.ts -------------------------------------------------------------------------------- /src/features/cjs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/cjs.ts -------------------------------------------------------------------------------- /src/features/clean.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/clean.ts -------------------------------------------------------------------------------- /src/features/copy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/copy.ts -------------------------------------------------------------------------------- /src/features/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/debug.ts -------------------------------------------------------------------------------- /src/features/entry.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/entry.test.ts -------------------------------------------------------------------------------- /src/features/entry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/entry.ts -------------------------------------------------------------------------------- /src/features/external.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/external.ts -------------------------------------------------------------------------------- /src/features/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/hooks.ts -------------------------------------------------------------------------------- /src/features/lightningcss.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/lightningcss.ts -------------------------------------------------------------------------------- /src/features/node-protocol.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/node-protocol.ts -------------------------------------------------------------------------------- /src/features/output.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/output.ts -------------------------------------------------------------------------------- /src/features/pkg/attw.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/pkg/attw.ts -------------------------------------------------------------------------------- /src/features/pkg/exports.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/pkg/exports.test.ts -------------------------------------------------------------------------------- /src/features/pkg/exports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/pkg/exports.ts -------------------------------------------------------------------------------- /src/features/pkg/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/pkg/index.ts -------------------------------------------------------------------------------- /src/features/pkg/publint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/pkg/publint.ts -------------------------------------------------------------------------------- /src/features/report.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/report.ts -------------------------------------------------------------------------------- /src/features/rolldown.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/rolldown.ts -------------------------------------------------------------------------------- /src/features/shebang.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/shebang.ts -------------------------------------------------------------------------------- /src/features/shims.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/shims.ts -------------------------------------------------------------------------------- /src/features/shortcuts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/shortcuts.ts -------------------------------------------------------------------------------- /src/features/target.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/target.test.ts -------------------------------------------------------------------------------- /src/features/target.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/target.ts -------------------------------------------------------------------------------- /src/features/tsconfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/tsconfig.ts -------------------------------------------------------------------------------- /src/features/watch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/features/watch.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/plugins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/plugins.ts -------------------------------------------------------------------------------- /src/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/run.ts -------------------------------------------------------------------------------- /src/utils/chunks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/utils/chunks.ts -------------------------------------------------------------------------------- /src/utils/format.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/utils/format.test.ts -------------------------------------------------------------------------------- /src/utils/format.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/utils/format.ts -------------------------------------------------------------------------------- /src/utils/fs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/utils/fs.ts -------------------------------------------------------------------------------- /src/utils/general.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/utils/general.ts -------------------------------------------------------------------------------- /src/utils/lightningcss.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/utils/lightningcss.test.ts -------------------------------------------------------------------------------- /src/utils/lightningcss.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/utils/lightningcss.ts -------------------------------------------------------------------------------- /src/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/utils/logger.ts -------------------------------------------------------------------------------- /src/utils/package.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/utils/package.ts -------------------------------------------------------------------------------- /src/utils/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/src/utils/types.ts -------------------------------------------------------------------------------- /tests/__snapshots__/banner-and-footer-option.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/banner-and-footer-option.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/basic.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/basic.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/bundle-dts.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/bundle-dts.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/cjs-default.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/cjs-default.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/cjs-import.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/cjs-import.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/clean/should-clean-custom-directories.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/clean/should-clean-custom-directories.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/clean/should-clean-dist-directory-by-default.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/clean/should-clean-dist-directory-by-default.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/clean/should-clean-files-with-specific-extensions.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/clean/should-clean-files-with-specific-extensions.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/clean/should-clean-multiple-patterns.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/clean/should-clean-multiple-patterns.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/clean/should-clean-nested-directories.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/clean/should-clean-nested-directories.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/clean/should-handle-clean-with-custom-outDir.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/clean/should-handle-clean-with-custom-outDir.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/clean/should-not-clean-when-clean-is-false.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/clean/should-not-clean-when-clean-is-false.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/css/basic.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/css/basic.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/css/unbundle.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/css/unbundle.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/css/with-dts.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/css/with-dts.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/custom-extension-with-empty-string.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/custom-extension-with-empty-string.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/custom-extension.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/custom-extension.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/cwd-option.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/cwd-option.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/dts-enabled-when-exports-types-exists.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/dts-enabled-when-exports-types-exists.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/dts-not-enabled-when-exports-is-string-instead-of-object.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/dts-not-enabled-when-exports-is-string-instead-of-object.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/dts-not-enabled-when-no-types-field-and-no-exports-types.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/dts-not-enabled-when-no-types-field-and-no-exports-types.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/entry-structure.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/entry-structure.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/env-flag.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/env-flag.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/esm-import.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/esm-import.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/fixed-extension.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/fixed-extension.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/hooks.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/hooks.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/iife-and-umd.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/iife-and-umd.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/import-meta-glob/async.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/import-meta-glob/async.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/import-meta-glob/eager.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/import-meta-glob/eager.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/inlineOnly/work.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/inlineOnly/work.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/issues/206.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/issues/206.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/issues/216.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/issues/216.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/issues/221.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/issues/221.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/issues/286.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/issues/286.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/issues/566.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/issues/566.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/issues/61.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/issues/61.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/loader-option.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/loader-option.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/minify.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/minify.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/noExternal.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/noExternal.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/node-protocol/dynamic-imports-with-nodeProtocol-true.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/node-protocol/dynamic-imports-with-nodeProtocol-true.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/node-protocol/mixed-imports-with-nodeProtocol-true.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/node-protocol/mixed-imports-with-nodeProtocol-true.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/node-protocol/nodeProtocol-default-false-.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/node-protocol/nodeProtocol-default-false-.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/node-protocol/nodeProtocol-false-no-modification-.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/node-protocol/nodeProtocol-false-no-modification-.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/node-protocol/nodeProtocol-strip-same-as-removeNodeProtocol-true-.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/node-protocol/nodeProtocol-strip-same-as-removeNodeProtocol-true-.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/node-protocol/nodeProtocol-true-add-node-prefix-.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/node-protocol/nodeProtocol-true-add-node-prefix-.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/node-protocol/removeNodeProtocol-takes-precedence-when-nodeProtocol-is-not-set.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/node-protocol/removeNodeProtocol-takes-precedence-when-nodeProtocol-is-not-set.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/node-protocol/should-handle-modules-that-require-node-prefix.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/node-protocol/should-handle-modules-that-require-node-prefix.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/node-protocol/should-not-double-prefix-modules-that-already-have-node-prefix.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/node-protocol/should-not-double-prefix-modules-that-already-have-node-prefix.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/node-protocol/subpath-imports-with-nodeProtocol-true.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/node-protocol/subpath-imports-with-nodeProtocol-true.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/node-protocol/with-require-polyfill-and-nodeProtocol-strip.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/node-protocol/with-require-polyfill-and-nodeProtocol-strip.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/resolve-dependency-for-dts.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/resolve-dependency-for-dts.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/resolve-paths-in-tsconfig.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/resolve-paths-in-tsconfig.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/shims/cjs-on-neutral-w-o-shims.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/shims/cjs-on-neutral-w-o-shims.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/shims/cjs-on-node-w-o-shims.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/shims/cjs-on-node-w-o-shims.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/shims/esm-on-node.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/shims/esm-on-node.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/target/css-syntax-lowering.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/target/css-syntax-lowering.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/target/js-syntax-lowering.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/target/js-syntax-lowering.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/target/target-false-disables-all-syntax-transformations.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/target/target-false-disables-all-syntax-transformations.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/target/target-false-with-CSS-preserves-modern-syntax.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/target/target-false-with-CSS-preserves-modern-syntax.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/target/unnecessary-css-syntax-lowering.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/target/unnecessary-css-syntax-lowering.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/target/unnecessary-js-syntax-lowering.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/target/unnecessary-js-syntax-lowering.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/unbundle/base-dir.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/unbundle/base-dir.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/unbundle/basic.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/unbundle/basic.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/without-hash-and-filename-conflict.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/without-hash-and-filename-conflict.snap.md -------------------------------------------------------------------------------- /tests/__snapshots__/workspace-option.snap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/__snapshots__/workspace-option.snap.md -------------------------------------------------------------------------------- /tests/clean.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/clean.test.ts -------------------------------------------------------------------------------- /tests/css.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/css.test.ts -------------------------------------------------------------------------------- /tests/fixtures/issue-206/.gitignore: -------------------------------------------------------------------------------- 1 | pnpm-lock.yaml 2 | -------------------------------------------------------------------------------- /tests/fixtures/issue-206/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/package.json -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/my-langs/css.mjs: -------------------------------------------------------------------------------- 1 | export default ['CSS'] 2 | -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/my-langs/html.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/packages/my-langs/html.mjs -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/my-langs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/packages/my-langs/package.json -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/my-shiki/index.d.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/packages/my-shiki/index.d.mts -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/my-shiki/index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/packages/my-shiki/index.mjs -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/my-shiki/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/packages/my-shiki/package.json -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/pkg1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/packages/pkg1/package.json -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/pkg1/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/packages/pkg1/src/index.ts -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/pkg1/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/packages/pkg1/tsconfig.json -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/pkg2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/packages/pkg2/package.json -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/pkg2/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from 'pkg1' 2 | -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/pkg2/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/packages/pkg2/tsconfig.json -------------------------------------------------------------------------------- /tests/fixtures/issue-206/packages/pkg2/tsdown.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/packages/pkg2/tsdown.config.mjs -------------------------------------------------------------------------------- /tests/fixtures/issue-206/pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/fixtures/issue-206/pnpm-workspace.yaml -------------------------------------------------------------------------------- /tests/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/index.test.ts -------------------------------------------------------------------------------- /tests/issues.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/issues.test.ts -------------------------------------------------------------------------------- /tests/node-protocol.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/node-protocol.test.ts -------------------------------------------------------------------------------- /tests/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/setup.ts -------------------------------------------------------------------------------- /tests/shims.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/shims.test.ts -------------------------------------------------------------------------------- /tests/target.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/target.test.ts -------------------------------------------------------------------------------- /tests/unbundle.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/unbundle.test.ts -------------------------------------------------------------------------------- /tests/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tests/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsdown.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/tsdown.config.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rolldown/tsdown/HEAD/vitest.config.ts --------------------------------------------------------------------------------