You are not married to your company, no matter how long you've been there. If you feel it's time to leave, leave. Staying in a spot you don't want to be in can quickly lead to decreased performance, a lack of fulfillment and eventually burnout. You as a developer have the privilege to choose your job as you want, use that. If it's your friend you're working with, they'll understand that.
The company is fairly small and I'm the front-end lead and know how everything works in the company.
That sounds like a management issue. The company has failed to keep the bus factor high.
If you want to ease your feeling of guilt, start working on a documentation that helps the next hire after you to pick up.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You are not married to your company, no matter how long you've been there. If you feel it's time to leave, leave. Staying in a spot you don't want to be in can quickly lead to decreased performance, a lack of fulfillment and eventually burnout. You as a developer have the privilege to choose your job as you want, use that. If it's your friend you're working with, they'll understand that.
That sounds like a management issue. The company has failed to keep the bus factor high.
If you want to ease your feeling of guilt, start working on a documentation that helps the next hire after you to pick up.