Reputation: 4421
I have a general question,
If I have my environment file
export const environment = {
production: true,
featureAEnabled: false,
};
Then in a component
if (environtment.featureAEnabled) {
// Doing stuff
}
Will this still be a part of the bundle even do it will never be used?
Upvotes: 3
Views: 122