-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
webpack output is served from undefined #2745
Comments
I've encountered this issue on my end and after some digging, it appears specifying {
...,
devServer: {
...,
publicPath: '/dist'
}
} |
@Bowser65 🤦🏻♂️ isn't that weird? If https://webpack.js.org/configuration/dev-server/#devserverpublicpath- 🤷🏻♂️ |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The output of webpack doesn't get served.
What is the current behavior?
My config:
Command:
webpack serve --config ./demo/webpack.config.js --mode development --open chrome
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The output js file can be served by dev server
Additional context
The text was updated successfully, but these errors were encountered: