Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Intl.js 404 Not Found #61
When running the a bundled version of my application I get the following error in Safari:
Here is some parts of my config.js (I have exluded the parts I meant to be irrelevant in this case):
Can you help me solve this?
@zewa666 Can you provide input on this? Is the Intl.js library statically imported or is it dynamically imported? I'm assuming it is loaded based on need. If that is the case, can you identify which browsers need it and which don't? Also can you update the docs to indicate that if supporting browsers that need it, then the bundle config will need to be appended?
added a commit
Feb 3, 2016
referenced this issue
Apr 14, 2016
Where is the documentation on how to bundle the polyfill?
This is working fine on Chrome, but on Safari I see:
"Intl API is not available. Trying to load the polyfill."
This occurs even when running in live dev mode (npm start, in the typescript-webpack skeleton).
How do we get the polyfill to be included?
OK, I do see the README information about the polyfill, but it is referring to modifying the aurelia bootstrap() function.
However, in the typescript-webpack skeleton, there is no bootstrap() function - it uses the configure() function in main.js. Can we also get documentation on how to adjust the aurelia configure() function for this?
@ben-girardet the best thing is to follow this guide on how to install the plugin with AureliaCLI. http://pragmatic-coder.net/installing-the-aurelia-i18n-plugin-in-a-cli-app/
on top of that in order to install the Polyfill, you'd additionally run