Change template of npm plugin when run with --prod

I have a problem when i build a apk with this option --prod.

I used a ionic2-calendar plugin.

I modified the template inside the js of node_modules and when i run without --prod I see the changes while i run with --prod i don’t see the changes. Why???

Thank you!