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

[bugfix] In ES6 modules locale/* cannot be import '../moment' in bro… #6029

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

tansan-dev
Copy link

ES6 modules cannot import js files without a suffix in the browser

截屏2022-07-22 16 12 05

截屏2022-07-22 16 15 23

截屏2022-07-22 16 15 59

…ser environment

ES6 modules cannot import js files without a suffix in the browser
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jul 22, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@ichernev
Copy link
Contributor

I'm not sure about this. Can't you just import the locale and the core separately (and not depend on the locale to fetch the core). I haven't seen people import with .js just because of this.

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.

None yet

2 participants