-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(@angular-devkit/build-angular): filter postcss usage based on co…
…ntent in esbuild builder When using the esbuild-based browser application builder, stylesheets that do not need any postcss processing will now skip the postcss step of the stylesheet build pipeline. Currently, only Tailwind CSS leverages postcss and Tailwind CSS is an opt-in feature. As a result, postcss will only be used if Tailwind CSS is configured for the project and a stylesheet contains one or more of the directives/functions specific to Tailwind as provided by https://tailwindcss.com/docs/functions-and-directives. This change should be most beneficial for component stylesheets which will rarely contain Tailwind specific rules that need additional processing.
- Loading branch information
Showing
1 changed file
with
46 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters