-
Notifications
You must be signed in to change notification settings - Fork 77
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
[PFX-811] - Tune Intl action #975
Conversation
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.
Small tweak then 👍
@@ -50,6 +50,10 @@ module.exports = async function buildManifest(gasket, options = {}) { | |||
const keyName = importName | |||
.replace(/\.json$/, '') | |||
.replace('./', ''); | |||
if (gasket.config.intl.experimentalImportAttributes) { |
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.
y'all should create a top level experimental/future flag which uses import asserts.
import as/from are executed at build time. createRequire is executed at runtime which makes it harder to run gasket in serverless environments
Summary
Changelog
Test Plan
Updated