Add Vite's base option support to viteBuild #10446
ShogunPanda
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
In order to integrate Remix in the @platformatic/remix package, we are currently using the
viteBuild
function from@remix-run/dev
by importing in our code directly.remix/packages/remix-dev/cli/commands.ts
Line 150 in 1fd422a
The problem is that it is currently lacking a way to propagate the Vite's
base
option that, for our use-case, cannot be present in thevite.config.js
.It would be great to pass
base
(and possibly other vite options) option toviteBuild
and get it propagated up tovite.build
.Do you think this is a feature you would like to add? Alternatively, would be open to a PR that enables that?
Beta Was this translation helpful? Give feedback.
All reactions