@alex_time I'm compiling my assets on server during deployment and I haven't had any issues.
Feb 24, 2020
4
Level 18
Assets production compile best practice
I usually compile assets using --production filter on dev machine and then commit end deploy. This requires that I have to commit again on dev machine only to get back debug on my assets locally. I am wondering if this is a good practice or if someone tends to compile assets on production server after commit and not locally, having the insurance that assets are always compiled as "production" on production server and without requiring a double compile on dev machine. Compiling on production server although could bring to some issue due to different npm or node version? What do you think?
Please or to participate in this conversation.