Skip to content

Commit a8bb160

Browse files
committed
fix: browserlist baseline warning
1 parent 331d1a5 commit a8bb160

File tree

5 files changed

+274
-161
lines changed

5 files changed

+274
-161
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@pandacss/shared": "workspace:*",
4545
"@pandacss/token-dictionary": "workspace:*",
4646
"@pandacss/types": "workspace:*",
47-
"browserslist": "4.28.0",
47+
"browserslist": "4.28.1",
4848
"hookable": "5.5.3",
4949
"lightningcss": "1.30.2",
5050
"lodash.merge": "4.6.2",

packages/core/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import './setup-browserslist-env'
12
import * as messages from './messages'
23
export { Breakpoints } from './breakpoints'
34
export { Conditions } from './conditions'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Ensure browserslist does not emit stale baseline data warnings for consumers.
2+
if (!process.env.BROWSERSLIST_IGNORE_OLD_DATA) {
3+
process.env.BROWSERSLIST_IGNORE_OLD_DATA = '1'
4+
}

packages/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@pandacss/shared": "workspace:*",
4848
"@pandacss/token-dictionary": "workspace:*",
4949
"@pandacss/types": "workspace:*",
50-
"browserslist": "4.28.0",
50+
"browserslist": "4.28.1",
5151
"chokidar": "4.0.3",
5252
"fast-glob": "3.3.3",
5353
"fs-extra": "11.3.2",

0 commit comments

Comments
 (0)