The issue was resolved by moving the plugins.ts file to the config/env/production directory
plugins.ts
config/env/production