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

Yalc doesn't work in a vite project #239

Open
xisenbao opened this issue Apr 17, 2024 · 2 comments
Open

Yalc doesn't work in a vite project #239

xisenbao opened this issue Apr 17, 2024 · 2 comments

Comments

@xisenbao
Copy link

No description provided.

@k-wilmeth
Copy link

I'm able to get yalc to work with vite however, for live re-load changes I have not found a solution for that.
I am using React 18 and my current process is

from npm package:

npm run build
yalc publish --push
yalc push --sig

then from my React 18 application:

yalc add @myorg/components
npm run build

I have to do those steps everytime I make an update in my npm package to reflect the change in my React application.
I have tried using the --replace flag but it still requires the same commands to reflect new changes.
Does anyone have any solution for this on how to reflect automatic updates with vite? It would make development a whole lot smoother and enjoyable for us. Thanks!

@xisenbao
Copy link
Author

xisenbao commented Jun 4, 2024 via email

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

No branches or pull requests

2 participants