-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Meta: important issues for 2.0 RTM #112
Comments
I've fixed remaining skeleton issues. One thing to keep in mind is the automatic babel-polyfill still breaking aurelia-polyfill on IE11. We should probably do something about this before RTM. |
@niieani I'm planning to try to ease polyfilling in RC-3. That said wasn't the issue with babel-polyfill an imcompatibility with polyfills, i.e. it should come down to configuration? |
@jods4 The thing is, one either uses babel-polyfill or one doesn't. Not sure if there any configuration that could turn off that specific, faulty polyfill from being included. |
I mean: if you include babel-polyfill and disable aurelia-polyfill (there's a webpack option for that) you should be fine? What else can we do? |
I guess so, but you mentioned it wouldn't be possible because of the order in which Aurelia is loaded (entrypoints get loaded too late). |
It's possible but complicated in RC2, that's what I'd like to improve for RC3. |
OK! Sounds good. |
Should aurelia-testing use |
@JeroenVinke that depends if you run it under NodeJS (like testing via Jest) or in the browser through Webpack (like the Karma testing in Skeleton). To be safe, it's good to always wrap your module paths in |
@niieani that makes sense. The CLI uses aurelia-testing in the browser: https://github.com/aurelia/cli/blob/master/lib/resources/src/main.ts#L13-L15. I was hoping that we could the same for the webpack applications that it generates, This works fine for now though:
|
You can safely use function moduleName(id: string, options?: object) {
return id;
} |
@niieani Better entry point management is committed to RC3 branch. Now, if you include babel polyfills in the entry point hopefully it should work fine. Would be nice to get a confirmation. On top of that disabling Aurelia polyfills should also work. |
In my experimentation, core-js also breaks aurelia-polyfill with respect to the Map polyfill from memory. |
@jods4 trying to use
and
no difference, still getting error from webpack: How to fix it? |
So I fixed it with |
@valichek Relative paths That said, I think you might have dug a real bug here, likely in the router code. I'll try to get someone who knows this code better than I do to have a look. Anyway, you're better off using absolute names in your Webpack application. ;) |
@jods4 sure, another thing is that I got the example of including modules from webpack skeleton. So it's better to fix this in skeleton too https://github.com/aurelia/skeleton-navigation/blob/master/skeleton-esnext-webpack/src/app.js#L7-L9 |
The babel stuff should be ok in the newest release, can someone confirm we can check it off the list? |
@bigopon RTM happened.. |
I am using this issue to list issues I've seen in our repos that I think should be closed before we officially go from 2.0 RC to RTM.
AureliaPlugin
.<a>
or<b>
being custom elements!babel-polyfill
breakingaurelia-polyfill
on IE11Don't hesitate to comment if you find other important bugs.
The text was updated successfully, but these errors were encountered: