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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: remove unused vite manifest for consistent build reproducibility #1670

Merged
merged 5 commits into from
Jan 11, 2023

Conversation

peterpeterparker
Copy link
Member

@peterpeterparker peterpeterparker commented Dec 30, 2022

Motivation

No vite-manifest.json, no build reproducibility issue 馃槈.

See commented code for details.

Changes

  • delete vite-manifest.json with a post build script
  • remove make-reproducible as it becomes unused

Notes

I opened today two issues in SvelteKit repo to share what we discovered:

@peterpeterparker
Copy link
Member Author

For the record, ViteJS has now fixed the order in the manifest.json (vitejs/vite#11540)

Copy link
Member

@bitdivine bitdivine left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@peterpeterparker peterpeterparker merged commit 56c59b4 into main Jan 11, 2023
@peterpeterparker peterpeterparker deleted the build/fix-reproducibility branch January 11, 2023 13:12
peterpeterparker added a commit that referenced this pull request Jan 16, 2023
# Motivation

In #1666 we have moved scoped styles to global style to workaround the build reproducibility of SvelteKit+ViteJS [#8291](sveltejs/kit#8291).

This PR redo the changes has #1670 will solve the reproducibility issue by removing the unused vite manifest file from our build results.

# PRs

- [x] #1670

# Changes

- redo scoped style and remove related global style
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.

None yet

2 participants