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

Build fails when not linked #5

Closed
brillout opened this issue Mar 5, 2021 · 1 comment
Closed

Build fails when not linked #5

brillout opened this issue Mar 5, 2021 · 1 comment
Labels

Comments

@brillout
Copy link
Member

brillout commented Mar 5, 2021

For building to work vite-plugin-ssr needs to be linked. See vitejs/vite#2390.

@brillout
Copy link
Member Author

Pending PR: vitejs/vite#2519.

Until the PR is merged: https://github.com/brillout/vite-fix-2390

npm install vite@2.1.2
npm install @brillout/vite-fix-2390
npx vite-fix-2390 # It should say `Vite already patched`
rm -r dist/ node_modules/.vite
npm run prod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant