diff --git a/integ-tests/react/package.json b/integ-tests/react/package.json index bab2c4c38..67c0218cf 100644 --- a/integ-tests/react/package.json +++ b/integ-tests/react/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "next dev", + "dev": "next dev --turbo", "start": "next start", "lint": "next lint", "test": "jest", diff --git a/typescript/nextjs-plugin/package.json b/typescript/nextjs-plugin/package.json index cb4e0ed75..d5c57d725 100644 --- a/typescript/nextjs-plugin/package.json +++ b/typescript/nextjs-plugin/package.json @@ -21,6 +21,7 @@ "access": "public" }, "scripts": { + "dev": "tsc --watch", "build": "tsc", "format": "biome format --write .", "lint": "biome check .", diff --git a/typescript/nextjs-plugin/src/index.ts b/typescript/nextjs-plugin/src/index.ts index 4048c2fb7..25d7295fe 100644 --- a/typescript/nextjs-plugin/src/index.ts +++ b/typescript/nextjs-plugin/src/index.ts @@ -46,26 +46,36 @@ export function withBaml(bamlConfig: BamlNextConfig = {}) { // Default to new config (>= 14) if version can't be determined const majorVersion = nextVersion ? parseInt(nextVersion.split('.')[0], 10) : 14 const useNewConfig = majorVersion >= 14 - const turboConfig = { - ...nextConfig.experimental?.turbo, - rules: { '*.node': { loaders: ['nextjs-node-loader'], as: '*.js' } }, - } + const isTurbo = Boolean(process.env.TURBOPACK === '1') + + const turboConfig = isTurbo + ? { + ...(nextConfig.experimental?.turbo || {}), + rules: { + ...(nextConfig.experimental?.turbo?.rules || {}), + '*.node': { loaders: ['nextjs-node-loader'], as: '*.js' }, + }, + } + : undefined return { ...nextConfig, ...(useNewConfig ? { serverExternalPackages: [...((nextConfig as any)?.serverExternalPackages || []), '@boundaryml/baml'], - turbo: turboConfig, + experimental: { + ...(nextConfig.experimental || {}), + ...(isTurbo ? { turbo: turboConfig } : {}), + }, } : { experimental: { - ...nextConfig.experimental, + ...(nextConfig.experimental || {}), serverComponentsExternalPackages: [ ...((nextConfig.experimental as any)?.serverComponentsExternalPackages || []), '@boundaryml/baml', ], - turbo: turboConfig, + ...(isTurbo ? { turbo: turboConfig } : {}), }, }), webpack: (config: Configuration, context: any) => { @@ -81,19 +91,22 @@ export function withBaml(bamlConfig: BamlNextConfig = {}) { config.externals = [...(Array.isArray(config.externals) ? config.externals : []), '@boundaryml/baml'] } - config.module = config.module || {} - config.module.rules = config.module.rules || [] - config.module.rules.push({ - test: /\.node$/, - use: [ - { - loader: 'nextjs-node-loader', - options: { - outputPath: config.output?.path, + // Only add webpack rules if not using Turbo + if (!isTurbo) { + config.module = config.module || {} + config.module.rules = config.module.rules || [] + config.module.rules.push({ + test: /\.node$/, + use: [ + { + loader: 'nextjs-node-loader', + options: { + outputPath: config.output?.path, + }, }, - }, - ], - }) + ], + }) + } return config }, diff --git a/typescript/pnpm-lock.yaml b/typescript/pnpm-lock.yaml index 70ddaec3a..de23595a8 100644 --- a/typescript/pnpm-lock.yaml +++ b/typescript/pnpm-lock.yaml @@ -121,7 +121,6 @@ importers: '@types/webpack': specifier: ^5.28.5 version: 5.28.5(@swc/core@1.10.6(@swc/helpers@0.5.15))(esbuild@0.17.19) - version: 5.28.5(@swc/core@1.10.6(@swc/helpers@0.5.15)) copyfiles: specifier: ^2.4.1 version: 2.4.1 @@ -277,7 +276,7 @@ importers: version: 5.0.9 next: specifier: ^15.1.5 - version: 15.1.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 15.1.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) next-themes: specifier: ^0.3.0 version: 0.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -390,7 +389,7 @@ importers: version: 29.5.14 '@types/node': specifier: ^22.10.6 - version: 22.10.6 + version: 22.13.1 '@types/react': specifier: ^19.0.6 version: 19.0.6 @@ -399,10 +398,10 @@ importers: version: 5.28.5 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@22.10.6) + version: 29.7.0(@types/node@22.13.1) next: specifier: ^15.1.4 - version: 15.1.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 15.1.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) typescript: specifier: ^5.7.3 version: 5.7.3 @@ -2596,65 +2595,56 @@ packages: '@microsoft/fetch-event-source@2.0.1': resolution: {integrity: sha512-W6CLUJ2eBMw3Rec70qrsEW0jOm/3twwJv21mrmj2yORiaVmVYGS4sSS5yUwvQc1ZlDLYGPnClVWmUUMagKNsfA==} - '@next/env@15.1.5': - resolution: {integrity: sha512-jg8ygVq99W3/XXb9Y6UQsritwhjc+qeiO7QrGZRYOfviyr/HcdnhdBQu4gbp2rBIh2ZyBYTBMWbPw3JSCb0GHw==} - - '@next/env@15.1.4': - resolution: {integrity: sha512-2fZ5YZjedi5AGaeoaC0B20zGntEHRhi2SdWcu61i48BllODcAmmtj8n7YarSPt4DaTsJaBFdxQAVEVzgmx2Zpw==} + '@next/env@15.1.6': + resolution: {integrity: sha512-d9AFQVPEYNr+aqokIiPLNK/MTyt3DWa/dpKveiAaVccUadFbhFEvY6FXYX2LJO2Hv7PHnLBu2oWwB4uBuHjr/w==} '@next/eslint-plugin-next@14.1.4': resolution: {integrity: sha512-n4zYNLSyCo0Ln5b7qxqQeQ34OZKXwgbdcx6kmkQbywr+0k6M3Vinft0T72R6CDAcDrne2IAgSud4uWCzFgc5HA==} - '@next/swc-darwin-arm64@15.1.5': - resolution: {integrity: sha512-5ttHGE75Nw9/l5S8zR2xEwR8OHEqcpPym3idIMAZ2yo+Edk0W/Vf46jGqPOZDk+m/SJ+vYZDSuztzhVha8rcdA==} + '@next/swc-darwin-arm64@15.1.6': + resolution: {integrity: sha512-u7lg4Mpl9qWpKgy6NzEkz/w0/keEHtOybmIl0ykgItBxEM5mYotS5PmqTpo+Rhg8FiOiWgwr8USxmKQkqLBCrw==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@next/swc-darwin-x64@15.1.5': - resolution: {integrity: sha512-8YnZn7vDURUUTInfOcU5l0UWplZGBqUlzvqKKUFceM11SzfNEz7E28E1Arn4/FsOf90b1Nopboy7i7ufc4jXag==} + '@next/swc-darwin-x64@15.1.6': + resolution: {integrity: sha512-x1jGpbHbZoZ69nRuogGL2MYPLqohlhnT9OCU6E6QFewwup+z+M6r8oU47BTeJcWsF2sdBahp5cKiAcDbwwK/lg==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@next/swc-linux-arm64-gnu@15.1.5': - resolution: {integrity: sha512-rDJC4ctlYbK27tCyFUhgIv8o7miHNlpCjb2XXfTLQszwAUOSbcMN9q2y3urSrrRCyGVOd9ZR9a4S45dRh6JF3A==} + '@next/swc-linux-arm64-gnu@15.1.6': + resolution: {integrity: sha512-jar9sFw0XewXsBzPf9runGzoivajeWJUc/JkfbLTC4it9EhU8v7tCRLH7l5Y1ReTMN6zKJO0kKAGqDk8YSO2bg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@15.1.5': - resolution: {integrity: sha512-FG5RApf4Gu+J+pHUQxXPM81oORZrKBYKUaBTylEIQ6Lz17hKVDsLbSXInfXM0giclvXbyiLXjTv42sQMATmZ0A==} + '@next/swc-linux-arm64-musl@15.1.6': + resolution: {integrity: sha512-+n3u//bfsrIaZch4cgOJ3tXCTbSxz0s6brJtU3SzLOvkJlPQMJ+eHVRi6qM2kKKKLuMY+tcau8XD9CJ1OjeSQQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-x64-gnu@15.1.5': - resolution: {integrity: sha512-NX2Ar3BCquAOYpnoYNcKz14eH03XuF7SmSlPzTSSU4PJe7+gelAjxo3Y7F2m8+hLT8ZkkqElawBp7SWBdzwqQw==} + '@next/swc-linux-x64-gnu@15.1.6': + resolution: {integrity: sha512-SpuDEXixM3PycniL4iVCLyUyvcl6Lt0mtv3am08sucskpG0tYkW1KlRhTgj4LI5ehyxriVVcfdoxuuP8csi3kQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@15.1.5': - resolution: {integrity: sha512-EQgqMiNu3mrV5eQHOIgeuh6GB5UU57tu17iFnLfBEhYfiOfyK+vleYKh2dkRVkV6ayx3eSqbIYgE7J7na4hhcA==} + '@next/swc-linux-x64-musl@15.1.6': + resolution: {integrity: sha512-L4druWmdFSZIIRhF+G60API5sFB7suTbDRhYWSjiw0RbE+15igQvE2g2+S973pMGvwN3guw7cJUjA/TmbPWTHQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-win32-arm64-msvc@15.1.5': - resolution: {integrity: sha512-HPULzqR/VqryQZbZME8HJE3jNFmTGcp+uRMHabFbQl63TtDPm+oCXAz3q8XyGv2AoihwNApVlur9Up7rXWRcjg==} + '@next/swc-win32-arm64-msvc@15.1.6': + resolution: {integrity: sha512-s8w6EeqNmi6gdvM19tqKKWbCyOBvXFbndkGHl+c9YrzsLARRdCHsD9S1fMj8gsXm9v8vhC8s3N8rjuC/XrtkEg==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@next/swc-win32-x64-msvc@15.1.5': - resolution: {integrity: sha512-n74fUb/Ka1dZSVYfjwQ+nSJ+ifUff7jGurFcTuJNKZmI62FFOxQXUYit/uZXPTj2cirm1rvGWHG2GhbSol5Ikw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - - '@next/swc-win32-x64-msvc@15.1.4': - resolution: {integrity: sha512-xxsJy9wzq7FR5SqPCUqdgSXiNXrMuidgckBa8nH9HtjjxsilgcN6VgXF6tZ3uEWuVEadotQJI8/9EQ6guTC4Yw==} + '@next/swc-win32-x64-msvc@15.1.6': + resolution: {integrity: sha512-6xomMuu54FAFxttYr5PJbEfu96godcxBTRk1OhAvJq0/EnmFU/Ybiax30Snis4vdWZ9LGpf7Roy5fSs7v/5ROQ==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -3708,6 +3698,9 @@ packages: '@types/node@20.17.12': resolution: {integrity: sha512-vo/wmBgMIiEA23A/knMfn/cf37VnuF52nZh5ZoW0GWt4e4sxNquibrMRJ7UQsA06+MBx9r/H1jsI9grYjQCQlw==} + '@types/node@22.13.1': + resolution: {integrity: sha512-jK8uzQlrvXqEU91UxiK5J7pKHyzgnI1Qnl0QDHIgVGuolJhRb9EEl28Cj9b3rGR8B2lhFCtvIm5os8lFnO/1Ew==} + '@types/object-path@0.11.4': resolution: {integrity: sha512-4tgJ1Z3elF/tOMpA8JLVuR9spt9Ynsf7+JjqsQ2IqtiPJtcLoHoXcT6qU4E10cPFqyXX5HDm9QwIzZhBSkLxsw==} @@ -6838,29 +6831,8 @@ packages: react: ^16.8 || ^17 || ^18 react-dom: ^16.8 || ^17 || ^18 - next@15.1.5: - resolution: {integrity: sha512-Cf/TEegnt01hn3Hoywh6N8fvkhbOuChO4wFje24+a86wKOubgVaWkDqxGVgoWlz2Hp9luMJ9zw3epftujdnUOg==} - engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0} - hasBin: true - peerDependencies: - '@opentelemetry/api': ^1.1.0 - '@playwright/test': ^1.41.2 - babel-plugin-react-compiler: '*' - react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 - react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 - sass: ^1.3.0 - peerDependenciesMeta: - '@opentelemetry/api': - optional: true - '@playwright/test': - optional: true - babel-plugin-react-compiler: - optional: true - sass: - optional: true - - next@15.1.4: - resolution: {integrity: sha512-mTaq9dwaSuwwOrcu3ebjDYObekkxRnXpuVL21zotM8qE2W0HBOdVIdg2Li9QjMEZrj73LN96LcWcz62V19FjAg==} + next@15.1.6: + resolution: {integrity: sha512-Hch4wzbaX0vKQtalpXvUiw5sYivBy4cm5rzUKrBnUB/y436LGrvOUqYvlSeNVCWFO/770gDlltR9gqZH62ct4Q==} engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0} hasBin: true peerDependencies: @@ -8033,19 +8005,6 @@ packages: babel-plugin-macros: optional: true - styled-jsx@5.1.6: - resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==} - engines: {node: '>= 12.0.0'} - peerDependencies: - '@babel/core': '*' - babel-plugin-macros: '*' - react: '>= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0' - peerDependenciesMeta: - '@babel/core': - optional: true - babel-plugin-macros: - optional: true - stylis@4.3.2: resolution: {integrity: sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==} @@ -8426,6 +8385,9 @@ packages: undici-types@6.19.8: resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} + undici-types@6.20.0: + resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} + undici@6.21.0: resolution: {integrity: sha512-BUgJXc752Kou3oOIuU1i+yZZypyZRqNPW0vqoMPl8VaoalSfeR0D8/t4iAS3yirs79SSMTxTag+ZC86uswv+Cw==} engines: {node: '>=18.17'} @@ -10311,39 +10273,34 @@ snapshots: '@microsoft/fetch-event-source@2.0.1': {} - '@next/env@15.1.5': {} - - '@next/env@15.1.4': {} + '@next/env@15.1.6': {} '@next/eslint-plugin-next@14.1.4': dependencies: glob: 10.3.10 - '@next/swc-darwin-arm64@15.1.5': + '@next/swc-darwin-arm64@15.1.6': optional: true - '@next/swc-darwin-x64@15.1.5': + '@next/swc-darwin-x64@15.1.6': optional: true - '@next/swc-linux-arm64-gnu@15.1.5': + '@next/swc-linux-arm64-gnu@15.1.6': optional: true - '@next/swc-linux-arm64-musl@15.1.5': + '@next/swc-linux-arm64-musl@15.1.6': optional: true - '@next/swc-linux-x64-gnu@15.1.5': + '@next/swc-linux-x64-gnu@15.1.6': optional: true - '@next/swc-linux-x64-musl@15.1.5': + '@next/swc-linux-x64-musl@15.1.6': optional: true - '@next/swc-win32-arm64-msvc@15.1.5': + '@next/swc-win32-arm64-msvc@15.1.6': optional: true - '@next/swc-win32-x64-msvc@15.1.5': - optional: true - - '@next/swc-win32-x64-msvc@15.1.4': + '@next/swc-win32-x64-msvc@15.1.6': optional: true '@nextjournal/lang-clojure@1.0.0': @@ -11410,6 +11367,10 @@ snapshots: dependencies: undici-types: 6.19.8 + '@types/node@22.13.1': + dependencies: + undici-types: 6.20.0 + '@types/object-path@0.11.4': {} '@types/papaparse@5.3.15': @@ -11505,7 +11466,6 @@ snapshots: '@types/node': 20.17.12 tapable: 2.2.1 webpack: 5.97.1(@swc/core@1.10.6(@swc/helpers@0.5.15))(esbuild@0.17.19) - webpack: 5.97.1(@swc/core@1.10.6(@swc/helpers@0.5.15)) transitivePeerDependencies: - '@swc/core' - esbuild @@ -12973,13 +12933,13 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(@types/node@22.10.6): + create-jest@29.7.0(@types/node@22.13.1): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@22.10.6) + jest-config: 29.7.0(@types/node@22.13.1) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -14684,16 +14644,16 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(@types/node@22.10.6): + jest-cli@29.7.0(@types/node@22.13.1): dependencies: '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.6(@swc/helpers@0.5.15))(@types/node@20.17.12)(typescript@5.7.3)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@22.10.6) + create-jest: 29.7.0(@types/node@22.13.1) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@22.10.6) + jest-config: 29.7.0(@types/node@22.13.1) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -14734,7 +14694,7 @@ snapshots: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@22.10.6): + jest-config@29.7.0(@types/node@22.13.1): dependencies: '@babel/core': 7.26.0 '@jest/test-sequencer': 29.7.0 @@ -14759,7 +14719,7 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 22.10.6 + '@types/node': 22.13.1 transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -14997,12 +14957,12 @@ snapshots: - supports-color - ts-node - jest@29.7.0(@types/node@22.10.6): + jest@29.7.0(@types/node@22.13.1): dependencies: '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.6(@swc/helpers@0.5.15))(@types/node@20.17.12)(typescript@5.7.3)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@22.10.6) + jest-cli: 29.7.0(@types/node@22.13.1) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -15767,34 +15727,9 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - next@15.1.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@15.1.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@next/env': 15.1.5 - '@swc/counter': 0.1.3 - '@swc/helpers': 0.5.15 - busboy: 1.6.0 - caniuse-lite: 1.0.30001690 - postcss: 8.4.31 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.6(react@18.3.1) - optionalDependencies: - '@next/swc-darwin-arm64': 15.1.5 - '@next/swc-darwin-x64': 15.1.5 - '@next/swc-linux-arm64-gnu': 15.1.5 - '@next/swc-linux-arm64-musl': 15.1.5 - '@next/swc-linux-x64-gnu': 15.1.5 - '@next/swc-linux-x64-musl': 15.1.5 - '@next/swc-win32-arm64-msvc': 15.1.5 - '@next/swc-win32-x64-msvc': 15.1.5 - sharp: 0.33.5 - transitivePeerDependencies: - - '@babel/core' - - babel-plugin-macros - - next@15.1.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - '@next/env': 15.1.4 + '@next/env': 15.1.6 '@swc/counter': 0.1.3 '@swc/helpers': 0.5.15 busboy: 1.6.0 @@ -15804,14 +15739,14 @@ snapshots: react-dom: 18.3.1(react@18.3.1) styled-jsx: 5.1.6(react@18.3.1) optionalDependencies: - '@next/swc-darwin-arm64': 15.1.4 - '@next/swc-darwin-x64': 15.1.4 - '@next/swc-linux-arm64-gnu': 15.1.4 - '@next/swc-linux-arm64-musl': 15.1.4 - '@next/swc-linux-x64-gnu': 15.1.4 - '@next/swc-linux-x64-musl': 15.1.4 - '@next/swc-win32-arm64-msvc': 15.1.4 - '@next/swc-win32-x64-msvc': 15.1.4 + '@next/swc-darwin-arm64': 15.1.6 + '@next/swc-darwin-x64': 15.1.6 + '@next/swc-linux-arm64-gnu': 15.1.6 + '@next/swc-linux-arm64-musl': 15.1.6 + '@next/swc-linux-x64-gnu': 15.1.6 + '@next/swc-linux-x64-musl': 15.1.6 + '@next/swc-win32-arm64-msvc': 15.1.6 + '@next/swc-win32-x64-msvc': 15.1.6 sharp: 0.33.5 transitivePeerDependencies: - '@babel/core' @@ -17287,11 +17222,6 @@ snapshots: client-only: 0.0.1 react: 18.3.1 - styled-jsx@5.1.6(react@18.3.1): - dependencies: - client-only: 0.0.1 - react: 18.3.1 - stylis@4.3.2: {} sucrase@3.35.0: @@ -17383,7 +17313,6 @@ snapshots: optional: true terser-webpack-plugin@5.3.11(@swc/core@1.10.6(@swc/helpers@0.5.15))(esbuild@0.17.19)(webpack@5.97.1(@swc/core@1.10.6(@swc/helpers@0.5.15))(esbuild@0.17.19)): - terser-webpack-plugin@5.3.11(@swc/core@1.10.6(@swc/helpers@0.5.15))(webpack@5.97.1(@swc/core@1.10.6(@swc/helpers@0.5.15))): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 @@ -17391,7 +17320,6 @@ snapshots: serialize-javascript: 6.0.2 terser: 5.37.0 webpack: 5.97.1(@swc/core@1.10.6(@swc/helpers@0.5.15))(esbuild@0.17.19) - webpack: 5.97.1(@swc/core@1.10.6(@swc/helpers@0.5.15)) optionalDependencies: '@swc/core': 1.10.6(@swc/helpers@0.5.15) esbuild: 0.17.19 @@ -17406,7 +17334,6 @@ snapshots: webpack: 5.97.1(@swc/core@1.10.6(@swc/helpers@0.5.15)) optionalDependencies: '@swc/core': 1.10.6(@swc/helpers@0.5.15) - '@swc/core': 1.10.6(@swc/helpers@0.5.15) terser-webpack-plugin@5.3.11(esbuild@0.19.12)(webpack@5.97.1(esbuild@0.19.12)): dependencies: @@ -17734,6 +17661,8 @@ snapshots: undici-types@6.19.8: {} + undici-types@6.20.0: {} + undici@6.21.0: {} unified@11.0.5: @@ -18131,7 +18060,6 @@ snapshots: schema-utils: 3.3.0 tapable: 2.2.1 terser-webpack-plugin: 5.3.11(@swc/core@1.10.6(@swc/helpers@0.5.15))(esbuild@0.17.19)(webpack@5.97.1(@swc/core@1.10.6(@swc/helpers@0.5.15))(esbuild@0.17.19)) - terser-webpack-plugin: 5.3.11(@swc/core@1.10.6(@swc/helpers@0.5.15))(webpack@5.97.1(@swc/core@1.10.6(@swc/helpers@0.5.15))) watchpack: 2.4.2 webpack-sources: 3.2.3 transitivePeerDependencies: