Skip to content

feat: add output.distPath.root configuration#1083

Merged
fi3ework merged 4 commits intomainfrom
dist-root-path
Mar 24, 2026
Merged

feat: add output.distPath.root configuration#1083
fi3ework merged 4 commits intomainfrom
dist-root-path

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Mar 23, 2026

Summary

Add the output.distPath.root configuration to control the global root directory where rstest places its temporary build outputs.

  • Type: string | { root?: string }
  • Default: { root: 'dist/.rstest-temp' }

By default, rstest writes its temporary outputs under dist/.rstest-temp when they need to be written to disk. This includes the compiled test outputs used by the Node.js test runner, and the browser mode temporary assets such as the generated runner files and virtual manifest.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 23, 2026

Deploying rstest with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1d619d8
Status: ✅  Deploy successful!
Preview URL: https://efd221da.rstest.pages.dev
Branch Preview URL: https://dist-root-path.rstest.pages.dev

View logs

@9aoy 9aoy requested a review from fi3ework March 24, 2026 02:55
@9aoy 9aoy requested a review from fi3ework March 24, 2026 08:14
@fi3ework fi3ework merged commit 3d5df72 into main Mar 24, 2026
17 checks passed
@fi3ework fi3ework deleted the dist-root-path branch March 24, 2026 09:44
@9aoy 9aoy mentioned this pull request Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants