-
Notifications
You must be signed in to change notification settings - Fork 220
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
Partial Expressions in require call #289
Comments
Had a quick look and looks like the issue is in 0616dda with the new regex:
a quick test by changing this to the following resolves finding the module:
|
Apparently broken the possibility of loading lazy load bundles. Got a similar issue on windows with angular application. As workaround pin karma-webpack version to 2.0.6
|
Hi guys could you verify fix from #293
|
Sorry for the delay - I can confirm that fix-url-regex-for-custom-file-handler fixes my issue |
Unfortunately I keep getting an error "Error: Loading chunk 0 failed.". |
Fix released in |
I'm submitting a bug report
Webpack version:
3.10.0
Webpack Karma version:
2.0.8/9
Karma version:
0.12.37
Please tell us about your environment:
OSX 10.12.6
Browser:
Phantom
Current behavior:
partial expressions in require statements were working fine in version 2.0.5-7 but are now causing 404 responses
Expected/desired behavior:
Asynchronously load module
require(['views/' + view], function(view) {
works fine in Use karma-webpack 2.0.7 however using karma-webpack 2.0.8-2.0.9:
WARN [web-server]: 404: /var/folders/qr/vvd9_2fx45d5pfgfbb8qhbmh0000gn/T/_karma_webpack_/0.bundle.js
Changing the dependancy to a hard coded string enables the module to be found.
The text was updated successfully, but these errors were encountered: