Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): only show production warning when…
Browse files Browse the repository at this point in the history
… having either styles on scripts optimization turn on

Fixes #13415
  • Loading branch information
Alan authored and kyliau committed Jan 14, 2019
1 parent fbbef68 commit 258bc7c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -128,7 +128,7 @@ export class DevServerBuilder implements Builder<DevServerBuilderOptions> {
});
}

if (browserOptions.optimization) {
if (browserOptions.optimization.scripts || browserOptions.optimization.styles) {
this.context.logger.error(tags.stripIndents`
****************************************************************************************
This is a simple server for use in testing or debugging Angular applications locally.
Expand Down

0 comments on commit 258bc7c

Please sign in to comment.