-
Notifications
You must be signed in to change notification settings - Fork 243
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
Add module/no-module support #722
Conversation
This PR adds the experimental module/nomodule runtime loading support. ESM module loading support can be added via the `experimentEsm=true` parameter.
FYI: @mdmower @patrickkettner |
...and FYI @schlessera @westonruter - we should add this to the wp plugin once the validator supports mjs files. |
Filed issue for PHP Optimizer: https://github.com/ampproject/amp-wp/issues/4607 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one question for my own edification
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Nice work.
Thanks for the review! |
This PR adds the experimental module/nomodule runtime loading support.
ESM module loading support can be added via the
experimentEsm=true
parameter.