-
-
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
bundled js cannot be found from webpack-dev-server invoked from gulp. #645
Comments
What exactly are you trying to do here? The bundle should be available under Also, as the issue template said, please ask those kind of questions on Stack Overflow. You'll get better help there. |
after run gulp webpack-dev-server cannot fount bundle.js in my workdir and http://localhost:8080/dist/bundle.js return 404 |
webpack-dev-server will not put your bundle.js in your workdir, it will compile your files in-memory. I just now notice that you have commented out this part:
Can you try changing that to |
thanks , |
thanks , “webpack-dev-server will not put your bundle.js in your workdir, it will compile your files in-memory” notice myself |
Hi. So how can we make the bundle show up in disk instead build in memory? Any suggestion? |
Webpack Dev Server won't ever put the bundle on disk. It's not supposed to. Use the normal webpack production build to accomplish this. |
@LeTranAnhVu |
webpack.config.js
gulp task
wehen run gulp webpack-dev-server no error but cannot fount bundle.js
cmd output:
The text was updated successfully, but these errors were encountered: