Skip to content
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

Adds PLATFORM.modulename to internationalization module loading #257

Merged
merged 2 commits into from
Feb 19, 2018
Merged

Adds PLATFORM.modulename to internationalization module loading #257

merged 2 commits into from
Feb 19, 2018

Conversation

veikkoeeva
Copy link
Contributor

It appears Aurelia cannot load "aurelia-i18n" plugin (in all configurations)
without using the PLATFORM.modulename utility. This was the case with WebPack
at least. This also adds an example configuration in TypeScript.

It appears Aurelia cannot load "aurelia-i18n" plugin (in all configurations)
without using the PLATFORM.modulename utility. This was the case with WebPack
at least. This also adds an example configuration in TypeScript.
@veikkoeeva
Copy link
Contributor Author

aurelia/framework#858 (comment) is related. I wonder if this means the documentation and examples should be rephrased to remove mentions of PLATFORM.modulename or mention it's not needed in the future?

@zewa666
Copy link
Member

zewa666 commented Feb 16, 2018

Yeah so I hope that PR gets merged and we all can get rid of PLATFORM.modulename. Your PR would incline that this change is needed for all bundlers/loaders but immo its only necessary for webpack. So maybe you could just modify it slighty, hinting that this change is needed only for Webpack and might be obsolete in future.

Good catch though, for newcomers it seems this is something quite a lot people stumble upon

@veikkoeeva
Copy link
Contributor Author

@zewa666 Check that. I'll reword.

@zewa666 zewa666 merged commit 81ebc72 into aurelia:master Feb 19, 2018
@zewa666
Copy link
Member

zewa666 commented Feb 19, 2018

thanks for the PRs @veikkoeeva and @atsu85 for the review 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants