Export the viteBuild
command from @remix-run/dev/vite
#9059
alessandrojcm
started this conversation in
Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, in my project I'd like to have a CLI that runs both the client and server build (we're using a custom server). Right now for Remix I am jus calling
build()
andbuild({ssr: true})
but as per #8211 that is not guaranteed to work with certain plugin configurations. As Remix'svite:build
command is just callingviteBuild
fromremix-run/dev/vite/build
, could that function be exported from the package so it could be used by consumers of the package? IMO is ok if it is undocumented and not subject to semver, I believe that it would fit nicely upon Remix's philosophy of giving dvelopers full flexiblity and it'll allow to write custom build scripts for people that have that use case. Thanks!Beta Was this translation helpful? Give feedback.
All reactions