Skip to content

docs: update rspack config examples to use mjs#48

Merged
chenjiahan merged 2 commits into
mainfrom
update_readme_0805
Aug 5, 2025
Merged

docs: update rspack config examples to use mjs#48
chenjiahan merged 2 commits into
mainfrom
update_readme_0805

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

This pull request makes minor improvements to the README.md to update rspack config examples to use mjs.

Copilot AI review requested due to automatic review settings August 5, 2025 05:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Rspack configuration examples in the README to use modern ES modules (.mjs) syntax instead of CommonJS, along with consistent formatting improvements.

  • Convert configuration examples from CommonJS (module.exports) to ES modules (export default)
  • Update file extension from .js to .mjs in examples
  • Standardize quote usage and add trailing commas for consistency

Comment thread README.md Outdated
@chenjiahan chenjiahan merged commit 2421d48 into main Aug 5, 2025
6 checks passed
@chenjiahan chenjiahan deleted the update_readme_0805 branch August 5, 2025 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants