I created simple app used angular elements and http node server. To optimize bundle size i just convert the resulting js file to gz format with current command: