Skip to content

Commit 509322b

Browse files
thecrypticacedgp1130
authored andcommittedJan 10, 2022
fix(@angular-devkit/build-angular): Don't use TAILWIND_MODE=watch
This was only used as a workaround for older postcss-loder versions. It is no longer necessary. Additionaly it does not work with polling.
1 parent 9a9af20 commit 509322b

File tree

1 file changed

+0
-3
lines changed
  • packages/angular_devkit/build_angular/src/webpack/configs

1 file changed

+0
-3
lines changed
 

Diff for: ‎packages/angular_devkit/build_angular/src/webpack/configs/styles.ts

-3
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ export function getStylesConfig(wco: WebpackConfigOptions): Configuration {
149149
);
150150
}
151151
if (tailwindPackagePath) {
152-
if (process.env['TAILWIND_MODE'] === undefined) {
153-
process.env['TAILWIND_MODE'] = buildOptions.watch ? 'watch' : 'build';
154-
}
155152
extraPostcssPlugins.push(require(tailwindPackagePath)({ config: tailwindConfigPath }));
156153
}
157154
}

0 commit comments

Comments
 (0)
Please sign in to comment.