You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran into an issue where "contentBase" in webpack.base.js was not supported in the currently used version of webpack-dev-server, and instead needed to be replaced with "static".
Here is the error I encountered:
[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
options has an unknown property 'contentBase'. These properties are valid:
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? }
The text was updated successfully, but these errors were encountered:
Ran into an issue where "contentBase" in webpack.base.js was not supported in the currently used version of webpack-dev-server, and instead needed to be replaced with "static".
Here is the error I encountered:
[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
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? }
The text was updated successfully, but these errors were encountered: