mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 05:24:57 +08:00
fix(@angular/cli): explicitly disable warning overlays
This commit is contained in:
parent
6015a03cc1
commit
f73a9e40a7
2
packages/@angular/cli/custom-typings.d.ts
vendored
2
packages/@angular/cli/custom-typings.d.ts
vendored
@ -20,5 +20,5 @@ interface IWebpackDevServerConfigurationOptions {
|
||||
https?: boolean;
|
||||
key?: string;
|
||||
cert?: string;
|
||||
overlay?: boolean;
|
||||
overlay?: boolean | { errors: boolean, warnings: boolean };
|
||||
}
|
||||
|
@ -148,7 +148,10 @@ export default Task.extend({
|
||||
poll: serveTaskOptions.poll
|
||||
},
|
||||
https: serveTaskOptions.ssl,
|
||||
overlay: serveTaskOptions.target === 'development',
|
||||
overlay: {
|
||||
errors: serveTaskOptions.target === 'development',
|
||||
warnings: false
|
||||
},
|
||||
contentBase: false
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user