Say it with a replacement in mind, at the end of the day you are just an employee, dont be afraid, boss will offer you pay bump or to match the offer that you are going to, you MAKE UP your mind to LEAVE never stay after that, leave with dignity, if you stay boss will know that you have no BACKBONE.