Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): Don't use TAILWIND_MODE=watch
Browse files Browse the repository at this point in the history
This was only used as a workaround for older postcss-loder versions. It is no longer necessary. Additionaly it does not work with polling.
  • Loading branch information
thecrypticace authored and dgp1130 committed Jan 10, 2022
1 parent 9a9af20 commit 509322b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ export function getStylesConfig(wco: WebpackConfigOptions): Configuration {
);
}
if (tailwindPackagePath) {
if (process.env['TAILWIND_MODE'] === undefined) {
process.env['TAILWIND_MODE'] = buildOptions.watch ? 'watch' : 'build';
}
extraPostcssPlugins.push(require(tailwindPackagePath)({ config: tailwindConfigPath }));
}
}
Expand Down

0 comments on commit 509322b

Please sign in to comment.