#780 Migrate to Vite, Vitest, and Storybook 10#787
Open
NoelDeMartin wants to merge 5 commits into
Open
Conversation
4506cca to
6ffa42d
Compare
- Include staging branch in CI - Run type checks
0079579 to
9c8daa5
Compare
This was referenced Jun 9, 2026
- Changed build config from webpack to vite (see details below). - Moved root files to /lib for better code organization, leaving main entry points in root. - Implemented custom customElement decorator to work around duplicated registrations. The new configuration produces the following outputs: - For npm consumers, *.esm.js and *.cjs.js files. The main export exposes helpers, all components can be registered with solid-ui/components, and individual components can be registered with solid-ui/components/*. - For modern CDNs, we have ESM bundles in *.js files, also allowing all components or invidiual imports. These now include solid-logic and rdflib, no need to load them separatedly. - For legacy CDNs, we still have the UMD bundles, but those are discouraged and not documented in the README anymore. These ones still externalize solid-logic and rdflib. References: - Lit Publishing docs: https://lit.dev/docs/tools/publishing - Web Awesome installation docs: https://webawesome.com/docs - Web Awesome discussion on CDN declarations: shoelace-style/webawesome#2146
Contributor
|
I'm looking forward to using it when running watch pivot and see ing if I run into less issues. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR migrates the build system from webpack to Vite, along with some related tooling (Vitest, Storybook, etc.).
Other than migrating the build config, it also changes how files are compiled to better align with best practices. You can find more details about this in the commit messages and inline comments.
Related PRs: