Skip to content

Updating to use vite HMR to consolidate snippets #206

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

Merged
merged 4 commits into from
Jan 8, 2025

Conversation

Mathys-Gasnier
Copy link
Collaborator

Description

Removes the need to run snippets:consolidate to consolidate snippets, instead we are now using a custom vite plugin that builds snippets when vite runs (build or dev mode).
It allows for less conflicts on PRs, and leaves the responsability of consolidating to the server instead of leaving the repo store them.

TLDR: consolidated snippets removed, workflow removed, custom plugin in vite config to consolidate.

Type of Change

  • ✨ New snippet
  • 🛠 Improvement to an existing snippet
  • 🐞 Bug fix
  • 📖 Documentation update
  • 🔧 Other (please describe): Consolidating fixes/changes

@technoph1le
Copy link
Owner

technoph1le commented Jan 7, 2025

Awesome work. We also need to update the guidelines for contributors.

@Mathys-Gasnier Mathys-Gasnier merged commit f446d74 into technoph1le:main Jan 8, 2025
1 check passed
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.

5 participants