Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow absolute output path for inspectConfig #3024

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

chenjiahan
Copy link
Member

Summary

Allow absolute output path for inspectConfig:

import path from 'node:path';

await rsbuild.inspectConfig({
  writeToDisk: true,
  outputPath: path.join(__dirname, 'custom-dir'),
});

Related Links

#3023

Checklist

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

@chenjiahan chenjiahan merged commit 0cc1a29 into main Jul 26, 2024
8 of 9 checks passed
@chenjiahan chenjiahan deleted the inspect_config_absolute_0726 branch July 26, 2024 08:06
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.

1 participant