-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Bundle inject (not) using mapped paths #1313
Comments
Can you try this in 0.17.0-beta.21? So it's fetching the bundle file, and then requesting the module again? Or is it not even requesting the bundle to begin with? The names in the bundle config look correct, if they're the same names used in the bundle itself that all sounds right to me. Then just ensuring the configuration is loaded before the bundle as well. |
Same thing with .21. On .12 it appears that the bundles themselves are It's not fetching the bundle file - the lookup starts for one of my Currently on mobile, in two hours or so I can show some more code that is
|
So, our current workaround looks like this:
after including the config files, ofcourse. This is confirmed to work. The problematic check is, in
In the example of the previous post, |
The reason for this is that the bundle configuration needs to be provided at the same time as the paths configuration so adding The normalization in SystemJS is all correct but I've added a fix in jspm to ensure that a separate browser configuration file will always include the paths as well - jspm/jspm-cli@af2cf93. |
Yes, that may have been the cause, since I remember the |
Versions:
Confirmed working versions:
Relevant config:
Watch bundle created with:
Observed behaviour (in system.src.js,
hook('locate', ...)
w/r to bundles:The
load.name
is normalize to"http://localhost:8000/static/js/router.js"
, while the bundle entry is"http://localhost:8000/static/imtool/router.js"
. Obviously these two don't match, causing the bundle not to be injected.The requested resource URL is fine, it feels that the bundle-configuration should apply the path mapping (might be related to #1230).
On beta.12, it seems like the bundle config is loaded anyway, in my debugger it seems to be the first hit anyway.
The text was updated successfully, but these errors were encountered: