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

fix(storybook): Fix always updating storybook #1301

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented Aug 8, 2024

No description provided.

@lordrip lordrip requested a review from tplevko August 8, 2024 19:47
Comment on lines +46 to +48
__GIT_HASH: JSON.stringify('Demo hash'),
__GIT_DATE: JSON.stringify('1970-01-01T00:00:00Z'),
__KAOTO_VERSION: JSON.stringify(packageJson.version),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tplevko this viteFinal field serves as an override for vite config, so we're taking the opportunity to set a fixed __GIT_HASH and __GIT_DATE to avoid having changes on the AboutModal on every build.

@lordrip lordrip merged commit 46ff05f into KaotoIO:main Aug 8, 2024
9 checks passed
@lordrip lordrip deleted the fix/storybook branch August 9, 2024 14:19
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.

1 participant