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

Updating to use vite HMR to consolidate snippets #206

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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

vite.config.ts Outdated Show resolved Hide resolved
@dostonnabotov
Copy link
Owner

dostonnabotov commented Jan 7, 2025

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

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