We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
export default (config, env, helpers) => { if (!env.isProd) { config.devServer.client = { webSocketURL: "ws://localhost:PORT/ws", }; } };
Reference: https://webpack.js.org/configuration/dev-server/
The text was updated successfully, but these errors were encountered:
You're referencing the wrong version of the docs. That's v4, while the latest release of preact-cli is on v3.
preact-cli
That being said, we actually just landed support for v4 in #1646, though it has not yet been released.
Sorry, something went wrong.
No branches or pull requests
Reference: https://webpack.js.org/configuration/dev-server/
The text was updated successfully, but these errors were encountered: