-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃嵄 Bento Storybook: Define all BUILD_CONSTANTS
#35560
Conversation
Hey @alanorozco! These files were changed:
|
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.
Do you also need to update main/build-system/tasks/storybook/amp-env/webpack.config.js
@@ -67,14 +67,12 @@ export const timelines = () => { | |||
const timelineUserId = '3450662892'; | |||
return ( | |||
bootstrap="https://3p.ampproject.net/2104170104001/vendor/twitter.js" |
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.
Why is this part of the PR?
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.
This was being passed in because INTERNAL_RUNTIME_VERSION
wasn't previously available.
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.
Actually... I'm going to remove this separately, since there's a few like this sprinkled around and they may involve other changes.
The build constants are presumably already defined in AMP mode, since the same code path doesn't yield the same errors, so I thought it would be extraneous to include it here. Would you recommend updating it anyway? |
Otherwise we get
IS_PROD is not defined
and similar - example.