File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,14 @@ if (process.env['NG_CLI_PROFILING']) {
7676}
7777
7878( async ( ) => {
79+ /**
80+ * Disable Browserslist old data warning as otherwise with every release we'd need to update this dependency
81+ * which is cumbersome considering we pin versions and the warning is not user actionable.
82+ * `Browserslist: caniuse-lite is outdated. Please run next command `npm update`
83+ * See: https://github.com/browserslist/browserslist/blob/819c4337456996d19db6ba953014579329e9c6e1/node.js#L324
84+ */
85+ process . env . BROWSERSLIST_IGNORE_OLD_DATA = '1' ;
86+
7987 const disableVersionCheckEnv = process . env [ 'NG_DISABLE_VERSION_CHECK' ] ;
8088 /**
8189 * Disable CLI version mismatch checks and forces usage of the invoked CLI
You can’t perform that action at this time.
0 commit comments