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

[polymer-serve] Dynamic imports fail in Firefox / AMD transformed browsers #3403

Open
btopro opened this issue Apr 19, 2019 · 3 comments
Open
Labels

Comments

@btopro
Copy link
Contributor

btopro commented Apr 19, 2019

This is related to #3402 most likely. When using polymer serve to view an asset that dynamically imports via bare import syntax, it fails to resolve correctly.

import("@polymer/paper-button/paper-button.js");

This is most likely due to a timing issue in the babel transform related to doing this as it was the case in the similar issue with build.

@e111077
Copy link
Contributor

e111077 commented May 23, 2019

Firefox 67 shipped yesterday (May 21, 2019) which provides native support for dynamic imports. Updating browser-capabilities to sidestep this issue for the future.

@btopro
Copy link
Contributor Author

btopro commented May 23, 2019

I'm surprised the bare import resolution didn't solve this but good call, then it'll at least work w/ the latest and greatest polyserve locally (which is probably fine)

@stale
Copy link

stale bot commented May 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants