-
Notifications
You must be signed in to change notification settings - Fork 8
feat(pkg builds): update vite to build each package instead src export #22
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
Conversation
baedd9c
to
4578eda
Compare
I gave it a try, but this one concerns me a bit. Usually I aim for the following setup
The current setup:
I'm open to switch over to this setup in general, but wondering if there is something even better and what are best practices. Would love to get @fubhy 's input (once he gets access to the repo) since he did a lot of that in the Effect repo. |
@cmwhited I talked to @fubhy and he recommends the following:
Regarding the dev setup: Do get it to work we should have a proper TypeScript composite project. Meaning correct setup of:
We can get inspired by the Effect repo. Here are some notable mentions:
What do you think about this approach? |
I am fine with that approach. Going to close this PR and get the tsconfig setup then |
cool, thanks @cmwhited 👍 |
Description
Updated the build pattern for each package to be same as
graph-framework-utils
to use vite to generate dist directory with es/cjs compiled files as well as exports declared inpackage.json
.This does mean that changes must be built first before seeing updates in implementing code (which is good and bad).
Let me know if y'all agree with this approach cc @nikgraf @pcarranzav