codymikol / karma-webpack

Karma webpack Middleware
MIT License
830 stars 221 forks source link

fix: deleting hashing paths #514

Closed DmitriyKhotin closed 2 years ago

DmitriyKhotin commented 3 years ago

This PR contains a:

Motivation / Use-Case

After updating karma-webpack to the 5 version, the bundles specified in the files option were not loaded and i received 404 error. This got fixed by removing path hashing in preprocessor.js file.path = transformedFilePath; and setting optimization: { splitChunks: false, runtimeChunk: false, } in my karma.conf.js file

Breaking Changes

N/A

Additional Info

N/A

codymikol commented 2 years ago

Sorry, I've had my hands full with buying a house.

I'm not sure I understand what was failing previous to this change, could you make a test case that demonstrates the issue?

codymikol commented 2 years ago

Closing as no feedback was given