SolidJSS
SolidJSโ€ข14mo agoโ€ข
10 replies
SilentRhetoric

Vinxi conditional config by mode

Is there a way to set up
app.config.ts
to be aware of the mode in which Vinxi is being run?

When using Vite directly, the following is possible: https://vite.dev/config/#conditional-config

It does not appear that SolidStart's defineConfig is similarly capable of taking a function that is aware of the mode in which Vinxi is being run.
vitejs
Next Generation Frontend Tooling
Configuring Vite
Was this page helpful?