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

Set build.ssr by default for node projects #225

Open
luxaritas opened this issue Jul 26, 2023 · 0 comments
Open

Set build.ssr by default for node projects #225

luxaritas opened this issue Jul 26, 2023 · 0 comments
Labels
priority: p3/standard Enhancement with nominal value or bug with nominal impact scope: vite-utils size: xs type: enhancement New feature or request

Comments

@luxaritas
Copy link
Member

luxaritas commented Jul 26, 2023

Describe your idea

Enable vite's build.ssr config option in our base config when env is node

Motivation

Vitest and such do this, and it ensures Vite uses nodejs semantics rather than browser semantics (eg, for static asset handling)

Proposed Solution

No response

Other Information

No response

@luxaritas luxaritas added type: enhancement New feature or request scope: vite-utils priority: p3/standard Enhancement with nominal value or bug with nominal impact size: xs labels Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3/standard Enhancement with nominal value or bug with nominal impact scope: vite-utils size: xs type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant