mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 21:42:38 +08:00
Loading the postcss-preset-env plugin includes building a mapping of unsupported browsers by feature, which is somewhat expensive. In large compilations, this mapping would be recomputed for each postcss-loader instance, as the plugin was recreated for each loader invocation. By extracting the plugin instance outside of the dynamic plugin computation, this overhead is avoided.