Skip to content

feat: allow absolute output path for inspectConfig#3024

Merged
chenjiahan merged 2 commits intomainfrom
inspect_config_absolute_0726
Jul 26, 2024
Merged

feat: allow absolute output path for inspectConfig#3024
chenjiahan merged 2 commits intomainfrom
inspect_config_absolute_0726

Conversation

@chenjiahan
Copy link
Copy Markdown
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
@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