-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
main.js has been loaded,but it didn't run #7535
Comments
Thanks for your report. It would be great if you reduce your issue to a small reproducible example. Best put this example into a github repository together with instructions how to get to the problem. |
@montogeek ,thx for your suggest.After i delete everything i can, i created a git and pull to the github. It's still runing without error,and not work |
I seem to be having the same problem on the latest version (4.12.1). I have |
@misakamaiyako remove TL;DR; it's not webpack's fault, in your example all vendor scripts are being placed inside |
I found the solution to my specific (unrelated) problem. Just wanted to post this in case it will save days/weeks of someone else's life (@ChieveiT?). The issue was that the webpack-contrib/mini-css-extract-plugin#151 In my specific scenario, I didn't want to inject the script on the page anyways (since it's essentially a blank file). However, it's critical that the contents of that file are evaluated on the page, else the |
Any news on this one? |
I had the same problem before and I found it's my fault: I didn't load the |
This issue had no activity for at least half a year. It's subject to automatic issue closing if there is no activity in the next 15 days. |
Issue was closed because of inactivity. If you think this is still a valid issue, please file a new issue with additional information. |
have same issue, all scripts and files are loaded, but no entrypoint function get executed. |
@vitaliy-kuzmich Please create a new issue with a reproducible example repository. |
@montogeek it is ok, it is strange that webpack does not include bundle.0.js into html page, have to add it manually. |
Bug report
What is the current behavior?
the main.js has been loaded,but it didn't run
If the current behavior is a bug, please provide the steps to reproduce.
the devDependencies package.json
the base.config
the devConfig
the main.js
What is the expected behavior?
Other relevant information:
webpack version: 4.12.0
Node.js version: 8.11.1
Operating System: win32 6.1.7601
Additional tools:
The text was updated successfully, but these errors were encountered: