-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Missing package in bundle #115
Comments
|
Polyfills are loaded when necessary. For now, could you try including it in the bundle explicitly and see if it works? |
|
so after alot of trial and error, I got it to work by putting this into my module list in the aurelia file - My first attempt was Next I tried IE and that was missing I think you really need a |
|
Note: this includes the minified and non minified version of the files!!! |
|
aha, got it to work with including a single file by omitting the extension - |
|
new definition is this: |
|
@lukeapage when you don't bundle your app, is firefox working? Did you need to do anything extra in comparison to chrome? |
|
@alexisargyris yes it is - I just checked. Feel free to browse my source code and nick anything you need (it was based on the skeleton code) |
|
Thanks. That boostrapper.js looks very-very interesting |
Ah, its not actually - I took aurelia-bootstrap and removed references to router and http - so its a straight fork with removals. I had problems setting the url if the router was included, even if it wasn't setup and as a bonus I don't get those modules included in the bundle. I hope Aurelia will become more configurable in terms of including/excluding bits and not having them included at all, then I can drop it. If I can get the url changing working I might switch back to aurelia-bootstrap anyway just for ease of maintainability and take the hit on the extra bundle bytes (which I guess aren't that much) |
|
Interesting about the bootstrapper - I'm not sure whether it would make sense to have multiple bootstrappers or to have one which conditionally loads things but consider releasing this on jspm as something like bootstrapper-lite |
|
update: the problem with firefox (when the app is not bundled) is present only in the developer edition for some reason. |
full source code here - https://github.com/less/less-preview
my Aurelia file looks like this
now, aurelia-loader-default references aurelia-loader, which references web componentjs (from the config.js file)
and that gets downloaded...
and when I run in chrome all is fine, but it seems at least some of the files (HTMLImports.min.js) are not included in the bundle, so in firefox, the site fails to load because the file is not bundled.
Shouldn't it be included as a sub dependency? is it because it is an optional polyfill?
The text was updated successfully, but these errors were encountered: