mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 20:52:06 +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;
|
https?: boolean;
|
||||||
key?: string;
|
key?: string;
|
||||||
cert?: string;
|
cert?: string;
|
||||||
overlay?: boolean;
|
overlay?: boolean | { errors: boolean, warnings: boolean };
|
||||||
}
|
}
|
||||||
|
@ -148,7 +148,10 @@ export default Task.extend({
|
|||||||
poll: serveTaskOptions.poll
|
poll: serveTaskOptions.poll
|
||||||
},
|
},
|
||||||
https: serveTaskOptions.ssl,
|
https: serveTaskOptions.ssl,
|
||||||
overlay: serveTaskOptions.target === 'development',
|
overlay: {
|
||||||
|
errors: serveTaskOptions.target === 'development',
|
||||||
|
warnings: false
|
||||||
|
},
|
||||||
contentBase: false
|
contentBase: false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user