Answer the question
In order to leave comments, you need to log in
What's the magic with webpack?
I assembled a test project, webpack generated main.js, I connect it to index.html, I go to index.html and the code does not work, I look at the console "n is not a function", I look at dist / main.js in my project starts So:
... !function(e){var n ={}; ..., I look at the same dist/main.js only through the console and see:
... !function(e){var t ={}; ....
Answer the question
In order to leave comments, you need to log in
How is the cache configured? Disable it forcibly in devtools. Perhaps an earlier version of the minified script got into the cache.
What devServer shows you is not the same as what you will have after the build.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question