We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98f0f7f commit 67da7feCopy full SHA for 67da7fe
packages/angular/cli/lib/init.ts
@@ -39,6 +39,14 @@ function _fromPackageJson(cwd = process.cwd()): SemVer | null {
39
return null;
40
}
41
42
+/**
43
+ * Disable Browserslist old data warning as otherwise with every release we'd need to update this dependency
44
+ * which is cumbersome considering we pin versions and the warning is not user actionable.
45
+ * `Browserslist: caniuse-lite is outdated. Please run next command `npm update`
46
+ * See: https://github.com/browserslist/browserslist/blob/819c4337456996d19db6ba953014579329e9c6e1/node.js#L324
47
+ */
48
+process.env.BROWSERSLIST_IGNORE_OLD_DATA = '1';
49
+
50
// Check if we need to profile this CLI run.
51
if (process.env['NG_CLI_PROFILING']) {
52
let profiler: {
0 commit comments