I am currently trying to deploy my application, but am running into a snag. This seems super simple, but I am just missing something somewhere.
I am using Tailwind CSS for the CSS library. As part of the deployment process, it processes the current app.css file into a different form. This processing is working correctly, and generating the correct file in /priv/static/css/app.css
.
If I try to run this in prod mode, like
MIX_ENV=prod mix phx.server
or create and run a release like:
MIX_ENV=prod mix release
The application runs fine, but the app.css is not included (or available) to the prod application.
The application ends up looking for a fingerprinted file like:
http://localhost:4000/css/app-82f82dc2399ea663a78f8f4a6414928e.css?vsn=d
which is not available.
Anyone have any ideas? Thanks!