Skip to content

Conversation

@logaretm
Copy link
Collaborator

This PR deprecates the webpack-only configurations via the @deprecated JSDoc annotation and introduces a new webpack config namespace for them.

Under the hood the logic was changed to read from the new values, with a compatibility layer that sets them from the deprecated top-level options while warning for each option if used.

This should set us up for a v11/v12 deletion of those options.

I might have missed a few options that only affect webpack, so I appreciate a good look at this. At any case this isn't breaking so even if missed a few, users won't experience disruptions.

@linear
Copy link

linear bot commented Nov 27, 2025

Copy link
Member

@RulaKhaled RulaKhaled left a comment

Choose a reason for hiding this comment

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

Generally looks good to me, but i'll recommend waiting for @charly's review!

@logaretm logaretm force-pushed the awad/js-1111-deprecate-top-level-webpack-options branch from beb7c72 to 9ef882c Compare December 1, 2025 15:32
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.

3 participants