Unverified Commit b0fd4a60 authored by Paavo Bennett's avatar Paavo Bennett Committed by GitHub

fix: backport `baseline-browser-mapping` changes to 16.0 (#89259)

closes #89190
parent 0e8e5c58
...@@ -112,6 +112,10 @@ env: ...@@ -112,6 +112,10 @@ env:
# defaults to 256, but we run a lot of tests in parallel, so the limit should be lower # defaults to 256, but we run a lot of tests in parallel, so the limit should be lower
NEXT_TURBOPACK_IO_CONCURRENCY: 64 NEXT_TURBOPACK_IO_CONCURRENCY: 64
# Disable warnings from baseline-browser-mapping
# https://github.com/web-platform-dx/baseline-browser-mapping/blob/ec8136ae9e034b332fab991d63a340d2e13b8afc/README.md?plain=1#L34
BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA: 1
jobs: jobs:
build: build:
timeout-minutes: ${{ inputs.timeout_minutes }} timeout-minutes: ${{ inputs.timeout_minutes }}
......
...@@ -100,6 +100,7 @@ ...@@ -100,6 +100,7 @@
"dependencies": { "dependencies": {
"@next/env": "16.0.11", "@next/env": "16.0.11",
"@swc/helpers": "0.5.15", "@swc/helpers": "0.5.15",
"baseline-browser-mapping": "^2.9.19",
"caniuse-lite": "^1.0.30001579", "caniuse-lite": "^1.0.30001579",
"postcss": "8.4.31", "postcss": "8.4.31",
"styled-jsx": "5.1.6" "styled-jsx": "5.1.6"
......
...@@ -50,10 +50,12 @@ export async function copy_styled_jsx_assets(task, opts) { ...@@ -50,10 +50,12 @@ export async function copy_styled_jsx_assets(task, opts) {
} }
const externals = { const externals = {
// don't bundle caniuse-lite data so users can // don't bundle caniuse-lite and baseline-browser-mapping data so users can
// update it manually // update it manually
'caniuse-lite': 'caniuse-lite', 'caniuse-lite': 'caniuse-lite',
'/caniuse-lite(/.*)/': 'caniuse-lite$1', '/caniuse-lite(/.*)/': 'caniuse-lite$1',
'baseline-browser-mapping': 'baseline-browser-mapping',
'/baseline-browser-mapping(/.*)/': 'baseline-browser-mapping$1',
postcss: 'postcss', postcss: 'postcss',
// Ensure latest version is used // Ensure latest version is used
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment