heroku-cra-node
heroku-cra-node copied to clipboard
Using cache for client node-modules
From what I can see in the build log in the example, the cache isn't used when installing the dependencies when building the client. Seems like the node buildpack isn't supporting 2 build directories, so maybe it's better to use 2 buildpacks: one for node and one for the React app (maybe we can leverage your buildpack, but without the Nginx part).
Do you have the second directory set as a cache directory? Example.
If it's not actually working, is it because the react-ui build is performed after the caching takes place?