boring-avatars
boring-avatars copied to clipboard
Use vite to build library
Hello, I was blocked from using this library in Remix (same issue as #76). I wasn't sure how to modify the existing build system to fix the issue, but switching to Vite could be a simpler way to build this library that isn't dependent on all of the create-react-app config. I ran the new build script (vite build
) and linked it to a project of mine, and now the Avatar
component renders as expected.
Are you open to this as a fix? I'd be happy to swap the demo over to Vite as well and get rid of a bunch of CRA & webpack dependencies to simplify - let me know and I'll open a couple issues.
Thanks!