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

Change to an immutable base webpack config function as the default #293

Merged
merged 12 commits into from
May 8, 2023

Conversation

justin808
Copy link
Member

Summary

Pull Request checklist

  • Add/update test to cover these changes
  • Update documentation
  • Update CHANGELOG file

@justin808 justin808 changed the title change to an immutable base config function Change to an immutable base webpack config function as the default May 6, 2023
And added compatibility property globalMutableWebpackConfig.
@justin808 justin808 force-pushed the change-to-an-immutable-base-config-function branch from 61003bc to cc141f1 Compare May 6, 2023 23:29
justin808 added 3 commits May 6, 2023 16:40
Due to extra keys added to webpack config.

Error like:
wp-client | [webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
wp-client |  - options has an unknown property 'pretty'. These properties are valid:
wp-client |    object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, magicHtml?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, setupMiddlewares?, static?, watchFiles?, webSocketServer? }
@justin808 justin808 force-pushed the change-to-an-immutable-base-config-function branch from 64e924a to eceaa76 Compare May 8, 2023 05:37
@justin808 justin808 merged commit 1a0a735 into master May 8, 2023
@justin808 justin808 deleted the change-to-an-immutable-base-config-function branch May 8, 2023 20:55
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