#896·imba

Building Against a Remote Filesystem via a --remote-base-dir imba build flag

Author: peter-wasilkoCreated Jun 27, 2024Updated Jun 27, 2024

When building a full stack app for deployment on a shared hosting server, imba build will generate references to my local filesystem that won't be valid on the hosting platform.

So far I haven't figured out how to manually patch the compiled server.js to make it compatible with the host directory structure.

Is this a solved issue under Vite with some configuration magic I'm not familiar with or would it make sense to have imba build support a --remote-base-dir flag so one could target the correct physical locations of server side files?