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

Question: is the cli necessary? Or is it enough to use the vite plugin directly? #262

Open
ianldgs opened this issue May 8, 2024 · 1 comment

Comments

@ianldgs
Copy link

ianldgs commented May 8, 2024

If a project already uses vite, and will be deployed with docker, is the rakka / rakka build commands required? Or would vite / vite build be enough? Asking because of using it with the built-in NX vite plugin, which will call the vite api, not rakka. So being able to justs add the plugin would make it compatible with NX without the need to write a custom plugin or use of custom commands for the project.

@CanRau
Copy link
Contributor

CanRau commented May 9, 2024

Took a quick look and it seems to do more than just calling vite as it's using vavite under the hood so I guess you need the rakkas cli
https://github.com/rakkasjs/rakkasjs/blob/main/packages/rakkasjs/src/cli/build.ts

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