In the remix config I specify a custom build directory and filename for the server build file.
In our setup this is required as I want to be able to keep the existing application setup, and run the new remix app alongside it until we complete our migration.
I'm migrating an existing application to remix and have a vite config similar to
In the remix config I specify a custom build directory and filename for the server build file. In our setup this is required as I want to be able to keep the existing application setup, and run the new remix app alongside it until we complete our migration.
However this file https://github.com/kiliman/remix-express-vite-plugin/blob/main/packages/remix-create-express-app/src/index.ts Contains hardcoded references to the
build
directory and theindex.js
file.I propose that these options be configurable in the
expressDevServer
plugin, or where possible read from the config used in the remix plugin