Skip to content

Conversation

@Mohit-singh-Developer
Copy link

Summary

This PR updates several generic webpack configuration examples in
src/content/configuration/output.mdx from CommonJS (module.exports)
to modern ESM syntax (export default).

The goal is to keep the documentation aligned with how most users write
webpack configuration files.

Only simple, configuration examples were updated.
Examples that intentionally shows CommonJS output
behavior were left unchanged.


What kind of change does this PR introduce?

  • docs

Did you add tests for your changes?

No. This PR only updates documentation examples and does not affect
runtime code or logic.


Does this PR introduce a breaking change?

No. These are documentation-only changes and do not alter webpack
behavior or public APIs.


If relevant, what needs to be documented once your changes are merged or what have you already documented?

The documentation has already been updated in this PR by modernizing
generic output configuration examples to ESM where appropriate.

@vercel
Copy link

vercel bot commented Jan 10, 2026

@Mohit-singh-Developer is attempting to deploy a commit to the OpenJS Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jan 10, 2026

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: Mohit-singh-Developer / name: Mohit Singh (4954de4, a692b87)

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.

1 participant