The planet will lose 0.2% - 19% of its mass.
Zendejas et al. discussed mass loss of planets around low-mass stars, but we can adapt their basic tools to our situation. They found that a planet with a radius $R_p$ orbiting at a distance $D$ from a star with a stellar wind of density $\rho$ and speed $v$ will lose mass at a rate
$$\dot{M}_p\approx2\pi R_p^2\alpha\rho v$$
or
$$\dot{M}_p\approx\left(\frac{R_p}{D}\right)^2\frac{\dot{M}_*\alpha}{2}$$
with $\dot{M}_*$ the mass-loss rate of the star and $\alpha$ an efficiency parameter. In the worst-case scenario, the winds remove the entirety of the star's mass (impossible, in reality), and if we set $\alpha=1$, then for a $1M_{\odot}$ star, a Jupiter-mass planet orbiting at $D=0.02\text{ AU}$ (as Ash considered) would lose 29% of its mass (where the mass lost is $\dot{M}_p\Delta t$, so $\dot{M}_*\Delta t=M_{\odot}$, with $\Delta t$ the star's lifetime). In reality, $\alpha$ should be closer to $1/3$, at least for terrestrial planets, and if we assume that the star loses more like half of its mass (still quite high), we find that it would lose 4.8% of its mass.
This is in close agreement with the numbers Ash cites. Note that $\dot{M_p}$ is proportional to the square of the radius of the planet and the inverse square of its orbital radius. At $D=0.01\text{ AU}$, we find that the planet should lose 19% of its total mass; at $D=0.1\text{ AU}$, we get 0.2%. A typical hot Jupiter lies within those two extremes, so that gives us some rough bounds.