I have an application (a nerves application actually) that depends on a phoenix application. Are there any patterns facilitate building the assets in this case? Is it generally required to precompile the assets and commit them into the git repository?
I’ve been hacking around it by
cd'ing into the deps directory and running
npm install inside there and modifying the phoenix application configuration to point to to the deps directory but this is hacky and generally it isn’t good to build things inside the deps directory.
I tried to search to see if anyone has already asked about this but it was quite hard to find a good search term and I don’t recall anyone asking on the forum before.