diff --git a/package.json b/package.json index d14a72d..c452ba0 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@biomejs/biome": "^1.8.3", "@jest/reporters": "29.7.0", "@jest/test-sequencer": "^29.7.0", - "@rspack/core": "1.3.11", + "@rspack/core": "1.4.1", "@rspack/plugin-react-refresh": "1.0.0", "@types/express": "4.17.21", "@types/jest": "29.5.12", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9821a4c..0c83ee9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,8 +37,8 @@ importers: specifier: ^29.7.0 version: 29.7.0 '@rspack/core': - specifier: 1.3.11 - version: 1.3.11 + specifier: 1.4.1 + version: 1.4.1 '@rspack/plugin-react-refresh': specifier: 1.0.0 version: 1.0.0(react-refresh@0.14.0) @@ -62,7 +62,7 @@ importers: version: 7.0.3 css-loader: specifier: ^7.1.2 - version: 7.1.2(@rspack/core@1.3.11)(webpack@5.94.0) + version: 7.1.2(@rspack/core@1.4.1)(webpack@5.94.0) execa: specifier: 9.3.0 version: 9.3.0 @@ -370,6 +370,15 @@ packages: cpu: [x64] os: [win32] + '@emnapi/core@1.4.3': + resolution: {integrity: sha512-4m62DuCE07lw01soJwPiBGC0nAww0Q+RY70VZ+n49yDIO13yyinhbWCeNnaob0lakDtWQzSdtNWzJeOJt2ma+g==} + + '@emnapi/runtime@1.4.3': + resolution: {integrity: sha512-pBPWdu6MLKROBX05wSNKcNb++m5Er+KQ9QkB+WVM+pW2Kx9hoSrVTnu3BdkI5eBLZoKu/J6mW/B6i6bJB2ytXQ==} + + '@emnapi/wasi-threads@1.0.2': + resolution: {integrity: sha512-5n3nTJblwRi8LlXkJ9eBzu+kZR8Yxcc7ubakyQTFzPMtIhFpUBRbsnc2Dv88IZDIbCDlBiWrknhB4Lsz7mg6BA==} + '@hono/node-server@1.13.8': resolution: {integrity: sha512-fsn8ucecsAXUoVxrUil0m13kOEq4mkX4/4QozCqmY+HpGfKl74OYSn8JcMA8GnG0ClfdRI4/ZSeG7zhFaVg+wg==} engines: {node: '>=18.14.1'} @@ -492,79 +501,86 @@ packages: '@leichtgewicht/ip-codec@2.0.5': resolution: {integrity: sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==} - '@module-federation/error-codes@0.13.1': - resolution: {integrity: sha512-azgGDBnFRfqlivHOl96ZjlFUFlukESz2Rnnz/pINiSqoBBNjUE0fcAZP4X6jgrVITuEg90YkruZa7pW9I3m7Uw==} + '@module-federation/error-codes@0.15.0': + resolution: {integrity: sha512-CFJSF+XKwTcy0PFZ2l/fSUpR4z247+Uwzp1sXVkdIfJ/ATsnqf0Q01f51qqSEA6MYdQi6FKos9FIcu3dCpQNdg==} + + '@module-federation/runtime-core@0.15.0': + resolution: {integrity: sha512-RYzI61fRDrhyhaEOXH3AgIGlHiot0wPFXu7F43cr+ZnTi+VlSYWLdlZ4NBuT9uV6JSmH54/c+tEZm5SXgKR2sQ==} - '@module-federation/runtime-core@0.13.1': - resolution: {integrity: sha512-TfyKfkSAentKeuvSsAItk8s5tqQSMfIRTPN2e1aoaq/kFhE+7blps719csyWSX5Lg5Es7WXKMsXHy40UgtBtuw==} + '@module-federation/runtime-tools@0.15.0': + resolution: {integrity: sha512-kzFn3ObUeBp5vaEtN1WMxhTYBuYEErxugu1RzFUERD21X3BZ+b4cWwdFJuBDlsmVjctIg/QSOoZoPXRKAO0foA==} - '@module-federation/runtime-tools@0.13.1': - resolution: {integrity: sha512-GEF1pxqLc80osIMZmE8j9UKZSaTm2hX2lql8tgIH/O9yK4wnF06k6LL5Ah+wJt+oJv6Dj55ri/MoxMP4SXoPNA==} + '@module-federation/runtime@0.15.0': + resolution: {integrity: sha512-dTPsCNum9Bhu3yPOcrPYq0YnM9eCMMMNB1wuiqf1+sFbQlNApF0vfZxooqz3ln0/MpgE0jerVvFsLVGfqvC9Ug==} - '@module-federation/runtime@0.13.1': - resolution: {integrity: sha512-ZHnYvBquDm49LiHfv6fgagMo/cVJneijNJzfPh6S0CJrPS2Tay1bnTXzy8VA5sdIrESagYPaskKMGIj7YfnPug==} + '@module-federation/sdk@0.15.0': + resolution: {integrity: sha512-PWiYbGcJrKUD6JZiEPihrXhV3bgXdll4bV7rU+opV7tHaun+Z0CdcawjZ82Xnpb8MCPGmqHwa1MPFeUs66zksw==} - '@module-federation/sdk@0.13.1': - resolution: {integrity: sha512-bmf2FGQ0ymZuxYnw9bIUfhV3y6zDhaqgydEjbl4msObKMLGXZqhse2pTIIxBFpIxR1oONKX/y2FAolDCTlWKiw==} + '@module-federation/webpack-bundler-runtime@0.15.0': + resolution: {integrity: sha512-i+3wu2Ljh2TmuUpsnjwZVupOVqV50jP0ndA8PSP4gwMKlgdGeaZ4VH5KkHAXGr2eiYUxYLMrJXz1+eILJqeGDg==} - '@module-federation/webpack-bundler-runtime@0.13.1': - resolution: {integrity: sha512-QSuSIGa09S8mthbB1L6xERqrz+AzPlHR6D7RwAzssAc+IHf40U6NiTLPzUqp9mmKDhC5Tm0EISU0ZHNeJpnpBQ==} + '@napi-rs/wasm-runtime@0.2.11': + resolution: {integrity: sha512-9DPkXtvHydrcOsopiYpUgPHpmj0HWZKMUnL2dZqpvC42lsratuBG06V5ipyno0fUek5VlFsNQ+AcFATSrJXgMA==} '@puppeteer/browsers@2.4.0': resolution: {integrity: sha512-x8J1csfIygOwf6D6qUAZ0ASk3z63zPb7wkNeHRerCMh82qWKUrOgkuP005AJC8lDL6/evtXETGEJVcwykKT4/g==} engines: {node: '>=18'} hasBin: true - '@rspack/binding-darwin-arm64@1.3.11': - resolution: {integrity: sha512-sGoFDXYNinubhEiPSjtA/ua3qhMj6VVBPTSDvprZj+MT18YV7tQQtwBpm+8sbqJ1P5y+a3mzsP3IphRWyIQyXw==} + '@rspack/binding-darwin-arm64@1.4.1': + resolution: {integrity: sha512-enh5DYbpaexdEmjbcxj3BJDauP3w+20jFKWvKROtAQV350PUw0bf2b4WOgngIH9hBzlfjpXNYAk6T5AhVAlY3Q==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.3.11': - resolution: {integrity: sha512-4zgOkCLxhp4Ki98GuDaZgz4exXcE4+sgvXY/xA/A5FGPVRbfQLQ5psSOk0F/gvMua1r15E66loQRJpuzUK6bTA==} + '@rspack/binding-darwin-x64@1.4.1': + resolution: {integrity: sha512-KoehyhBji4TLXhn4mqOUw6xsQNRzNVA9XcCm1Jx+M1Qb0dhMTNfduvBSyXuRV5+/QaRbk7+4UJbyRNFUtt96kA==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.3.11': - resolution: {integrity: sha512-NIOaIfYUmJs1XL4lbGVtcMm1KlA/6ZR6oAbs2ekofKXtJYAFQgnLTf7ZFmIwVjS0mP78BmeSNcIM6pd2w5id4w==} + '@rspack/binding-linux-arm64-gnu@1.4.1': + resolution: {integrity: sha512-PJ5cHqvrj1bK7jH5DVrdKoR8Fy+p6l9baxXajq/6xWTxP+4YTdEtLsRZnpLMS1Ho2RRpkxDWJn+gdlKuleNioQ==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.3.11': - resolution: {integrity: sha512-CRRAQ379uzA2QfD9HHNtxuuqzGksUapMVcTLY5NIXWfvHLUJShdlSJQv3UQcqgAJNrMY7Ex1PnoQs1jZgUiqZA==} + '@rspack/binding-linux-arm64-musl@1.4.1': + resolution: {integrity: sha512-cpDz+z3FwVQfK6VYfXQEb0ym6fFIVmvK4y3R/2VAbVGWYVxZB5I6AcSdOWdDnpppHmcHpf+qQFlwhHvbpMMJNQ==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-x64-gnu@1.3.11': - resolution: {integrity: sha512-k3OyvLneX2ZeL8z/OzPojpImqy6PgqKJD+NtOvcr/TgbgADHZ3xQttf6B2X+qnZMAgOZ+RTeTkOFrvsg9AEKmA==} + '@rspack/binding-linux-x64-gnu@1.4.1': + resolution: {integrity: sha512-jjTx53CpiYWK7fAv5qS8xHEytFK6gLfZRk+0kt2YII6uqez/xQ3SRcboreH8XbJcBoxINBzMNMf5/SeMBZ939A==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.3.11': - resolution: {integrity: sha512-2agcELyyQ95jWGCW0YWD0TvAcN40yUjmxn9NXQBLHPX5Eb07NaHXairMsvV9vqQsPsq0nxxfd9Wsow18Y5r/Hw==} + '@rspack/binding-linux-x64-musl@1.4.1': + resolution: {integrity: sha512-FAyR3Og81Smtr/CnsuTiW4ZCYAPCqeV73lzMKZ9xdVUgM9324ryEgqgX38GZLB5Mo7cvQhv7/fpMeHQo16XQCw==} cpu: [x64] os: [linux] - '@rspack/binding-win32-arm64-msvc@1.3.11': - resolution: {integrity: sha512-sjGoChazu0krigT/LVwGUsgCv3D3s/4cR/3P4VzuDNVlb4pbh1CDa642Fr0TceqAXCeKW5GiL/EQOfZ4semtcQ==} + '@rspack/binding-wasm32-wasi@1.4.1': + resolution: {integrity: sha512-3Q1VICIQP4GsaTJEmmwfowQ48NvhlL0CKH88l5+mbji2rBkGx7yR67pPdfCVNjXcCtFoemTYw98eaumJTjC++g==} + cpu: [wasm32] + + '@rspack/binding-win32-arm64-msvc@1.4.1': + resolution: {integrity: sha512-DdLPOy1J98kn45uEhiEqlBKgMvet+AxOzX2OcrnU0wQXthGM9gty1YXYNryOhlK+X+eOcwcP3GbnDOAKi8nKqw==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.3.11': - resolution: {integrity: sha512-tjywW84oQLSqRmvQZ+fXP7e3eNmjScYrlWEPAQFjf08N19iAJ9UOGuuFw8Fk5ZmrlNZ2Qo9ASSOI7Nnwx2aZYg==} + '@rspack/binding-win32-ia32-msvc@1.4.1': + resolution: {integrity: sha512-13s8fYtyC9DyvKosD2Kvzd6fVZDZZyPp91L4TEXWaO0CFhaCbtLTYIntExq9MwtKHYKKx7bchIFw93o0xjKjUg==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.3.11': - resolution: {integrity: sha512-pPy3yU6SAMfEPY7ki1KAetiDFfRbkYMiX3F89P9kX01UAePkLRNsjacHF4w7N3EsBsWn1FlGaYZdlzmOI5pg2Q==} + '@rspack/binding-win32-x64-msvc@1.4.1': + resolution: {integrity: sha512-ubQW8FcLnwljDanwTzkC9Abyo59gmX8m9uVr1GHOEuEU9Cua0KMijX2j/MYfiziz4nuQgv1saobY7K1I5nE3YA==} cpu: [x64] os: [win32] - '@rspack/binding@1.3.11': - resolution: {integrity: sha512-BbMfZHqfH+CzFtZDg+v9nbKifJIJDUPD6KuoWlHq581koKvD3UMx6oVrj9w13JvO2xWNPeHclmqWAFgoD7faEQ==} + '@rspack/binding@1.4.1': + resolution: {integrity: sha512-zYgOmI+LC2zxB/LIcnaeK66ElFHaPChdWzRruTT1LAFFwpgGkBGAwFoP27PDnxQW0Aejci21Ld8X9tyxm08QFw==} - '@rspack/core@1.3.11': - resolution: {integrity: sha512-aSYPtT1gum5MCfcFANdTroJ4JwzozuL3wX0twMGNAB7amq6+nZrbsUKWjcHgneCeZdahxzrKdyYef3FHaJ7lEA==} + '@rspack/core@1.4.1': + resolution: {integrity: sha512-UTRCTQk2G8YiPBiMvfn8FcysxeO4Muek6a/Z39Cw2r4ZI8k5iPnKiyZboTJLS7120PwWBw2SO+QQje35Z44x0g==} engines: {node: '>=16.0.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -603,6 +619,9 @@ packages: '@tootallnate/quickjs-emscripten@0.23.0': resolution: {integrity: sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==} + '@tybys/wasm-util@0.9.0': + resolution: {integrity: sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==} + '@types/babel__core@7.20.5': resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} @@ -978,9 +997,6 @@ packages: caniuse-lite@1.0.30001715: resolution: {integrity: sha512-7ptkFGMm2OAOgvZpwgA4yjQ5SQbrNVGdRjzH0pBdy1Fasvcr+KAeECmbCAECzTuDuoX0FCY8KzUxjf9+9kfZEw==} - caniuse-lite@1.0.30001718: - resolution: {integrity: sha512-AflseV1ahcSunK53NfEs9gFWgOEmzr0f+kaMFA4xiLZlr9Hzt7HxcSpIFcnNCUkz6R6dWKa54rUz3HUmI3nVcw==} - chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -3134,6 +3150,22 @@ snapshots: '@biomejs/cli-win32-x64@1.9.2': optional: true + '@emnapi/core@1.4.3': + dependencies: + '@emnapi/wasi-threads': 1.0.2 + tslib: 2.7.0 + optional: true + + '@emnapi/runtime@1.4.3': + dependencies: + tslib: 2.7.0 + optional: true + + '@emnapi/wasi-threads@1.0.2': + dependencies: + tslib: 2.7.0 + optional: true + '@hono/node-server@1.13.8(hono@4.7.4)': dependencies: hono: 4.7.4 @@ -3350,30 +3382,37 @@ snapshots: '@leichtgewicht/ip-codec@2.0.5': {} - '@module-federation/error-codes@0.13.1': {} + '@module-federation/error-codes@0.15.0': {} - '@module-federation/runtime-core@0.13.1': + '@module-federation/runtime-core@0.15.0': dependencies: - '@module-federation/error-codes': 0.13.1 - '@module-federation/sdk': 0.13.1 + '@module-federation/error-codes': 0.15.0 + '@module-federation/sdk': 0.15.0 - '@module-federation/runtime-tools@0.13.1': + '@module-federation/runtime-tools@0.15.0': dependencies: - '@module-federation/runtime': 0.13.1 - '@module-federation/webpack-bundler-runtime': 0.13.1 + '@module-federation/runtime': 0.15.0 + '@module-federation/webpack-bundler-runtime': 0.15.0 - '@module-federation/runtime@0.13.1': + '@module-federation/runtime@0.15.0': dependencies: - '@module-federation/error-codes': 0.13.1 - '@module-federation/runtime-core': 0.13.1 - '@module-federation/sdk': 0.13.1 + '@module-federation/error-codes': 0.15.0 + '@module-federation/runtime-core': 0.15.0 + '@module-federation/sdk': 0.15.0 - '@module-federation/sdk@0.13.1': {} + '@module-federation/sdk@0.15.0': {} - '@module-federation/webpack-bundler-runtime@0.13.1': + '@module-federation/webpack-bundler-runtime@0.15.0': dependencies: - '@module-federation/runtime': 0.13.1 - '@module-federation/sdk': 0.13.1 + '@module-federation/runtime': 0.15.0 + '@module-federation/sdk': 0.15.0 + + '@napi-rs/wasm-runtime@0.2.11': + dependencies: + '@emnapi/core': 1.4.3 + '@emnapi/runtime': 1.4.3 + '@tybys/wasm-util': 0.9.0 + optional: true '@puppeteer/browsers@2.4.0': dependencies: @@ -3388,51 +3427,56 @@ snapshots: transitivePeerDependencies: - supports-color - '@rspack/binding-darwin-arm64@1.3.11': + '@rspack/binding-darwin-arm64@1.4.1': optional: true - '@rspack/binding-darwin-x64@1.3.11': + '@rspack/binding-darwin-x64@1.4.1': optional: true - '@rspack/binding-linux-arm64-gnu@1.3.11': + '@rspack/binding-linux-arm64-gnu@1.4.1': optional: true - '@rspack/binding-linux-arm64-musl@1.3.11': + '@rspack/binding-linux-arm64-musl@1.4.1': optional: true - '@rspack/binding-linux-x64-gnu@1.3.11': + '@rspack/binding-linux-x64-gnu@1.4.1': optional: true - '@rspack/binding-linux-x64-musl@1.3.11': + '@rspack/binding-linux-x64-musl@1.4.1': optional: true - '@rspack/binding-win32-arm64-msvc@1.3.11': + '@rspack/binding-wasm32-wasi@1.4.1': + dependencies: + '@napi-rs/wasm-runtime': 0.2.11 optional: true - '@rspack/binding-win32-ia32-msvc@1.3.11': + '@rspack/binding-win32-arm64-msvc@1.4.1': optional: true - '@rspack/binding-win32-x64-msvc@1.3.11': + '@rspack/binding-win32-ia32-msvc@1.4.1': optional: true - '@rspack/binding@1.3.11': + '@rspack/binding-win32-x64-msvc@1.4.1': + optional: true + + '@rspack/binding@1.4.1': optionalDependencies: - '@rspack/binding-darwin-arm64': 1.3.11 - '@rspack/binding-darwin-x64': 1.3.11 - '@rspack/binding-linux-arm64-gnu': 1.3.11 - '@rspack/binding-linux-arm64-musl': 1.3.11 - '@rspack/binding-linux-x64-gnu': 1.3.11 - '@rspack/binding-linux-x64-musl': 1.3.11 - '@rspack/binding-win32-arm64-msvc': 1.3.11 - '@rspack/binding-win32-ia32-msvc': 1.3.11 - '@rspack/binding-win32-x64-msvc': 1.3.11 - - '@rspack/core@1.3.11': - dependencies: - '@module-federation/runtime-tools': 0.13.1 - '@rspack/binding': 1.3.11 + '@rspack/binding-darwin-arm64': 1.4.1 + '@rspack/binding-darwin-x64': 1.4.1 + '@rspack/binding-linux-arm64-gnu': 1.4.1 + '@rspack/binding-linux-arm64-musl': 1.4.1 + '@rspack/binding-linux-x64-gnu': 1.4.1 + '@rspack/binding-linux-x64-musl': 1.4.1 + '@rspack/binding-wasm32-wasi': 1.4.1 + '@rspack/binding-win32-arm64-msvc': 1.4.1 + '@rspack/binding-win32-ia32-msvc': 1.4.1 + '@rspack/binding-win32-x64-msvc': 1.4.1 + + '@rspack/core@1.4.1': + dependencies: + '@module-federation/runtime-tools': 0.15.0 + '@rspack/binding': 1.4.1 '@rspack/lite-tapable': 1.0.1 - caniuse-lite: 1.0.30001718 '@rspack/lite-tapable@1.0.1': {} @@ -3459,6 +3503,11 @@ snapshots: '@tootallnate/quickjs-emscripten@0.23.0': {} + '@tybys/wasm-util@0.9.0': + dependencies: + tslib: 2.7.0 + optional: true + '@types/babel__core@7.20.5': dependencies: '@babel/parser': 7.25.6 @@ -3932,8 +3981,6 @@ snapshots: caniuse-lite@1.0.30001715: {} - caniuse-lite@1.0.30001718: {} - chalk@2.4.2: dependencies: ansi-styles: 3.2.1 @@ -4083,7 +4130,7 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - css-loader@7.1.2(@rspack/core@1.3.11)(webpack@5.94.0): + css-loader@7.1.2(@rspack/core@1.4.1)(webpack@5.94.0): dependencies: icss-utils: 5.1.0(postcss@8.4.47) postcss: 8.4.47 @@ -4094,7 +4141,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - '@rspack/core': 1.3.11 + '@rspack/core': 1.4.1 webpack: 5.94.0 cssesc@3.0.0: {} diff --git a/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 b/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 index de61366..5508aad 100644 --- a/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 @@ -109,9 +109,9 @@ exports[`overlay should not show initially, then show on an error and allow to c font-family: Menlo, Consolas, monospace; " > - × Module parse failed: ╰─▶ × JavaScript parsing error: Unexpected eof - ╭──── 1 │ \`; ╰──── help: You may need an appropriate loader to handle - this file type. + × Module parse failed: ╰─▶ × JavaScript parse error: Unterminated + template ╭──── 1 │ \`; · ── ╰──── help: You may need an appropriate + loader to handle this file type. @@ -234,9 +234,9 @@ exports[`overlay should not show initially, then show on an error, then hide on font-family: Menlo, Consolas, monospace; " > - × Module parse failed: ╰─▶ × JavaScript parsing error: Unexpected eof - ╭──── 1 │ \`; ╰──── help: You may need an appropriate loader to handle - this file type. + × Module parse failed: ╰─▶ × JavaScript parse error: Unterminated + template ╭──── 1 │ \`; · ── ╰──── help: You may need an appropriate + loader to handle this file type. @@ -359,9 +359,9 @@ exports[`overlay should not show initially, then show on an error, then show oth font-family: Menlo, Consolas, monospace; " > - × Module parse failed: ╰─▶ × JavaScript parsing error: Unexpected eof - ╭──── 1 │ \`; ╰──── help: You may need an appropriate loader to handle - this file type. + × Module parse failed: ╰─▶ × JavaScript parse error: Unterminated + template ╭──── 1 │ \`; · ── ╰──── help: You may need an appropriate + loader to handle this file type. @@ -447,9 +447,9 @@ exports[`overlay should not show initially, then show on an error, then show oth font-family: Menlo, Consolas, monospace; " > - × Module parse failed: ╰─▶ × JavaScript parsing error: Unexpected eof - ╭──── 1 │ \`;a ╰──── help: You may need an appropriate loader to handle - this file type. + × Module parse failed: ╰─▶ × JavaScript parse error: Unterminated + template ╭──── 1 │ \`;a · ─── ╰──── help: You may need an appropriate + loader to handle this file type. diff --git a/tests/fixtures/worker-config-dev-server-false/public/worker-bundle.js b/tests/fixtures/worker-config-dev-server-false/public/worker-bundle.js index dfd2b3a..b6b490a 100644 --- a/tests/fixtures/worker-config-dev-server-false/public/worker-bundle.js +++ b/tests/fixtures/worker-config-dev-server-false/public/worker-bundle.js @@ -27,12 +27,7 @@ return module.exports; /************************************************************************/ // webpack/runtime/rspack_version (() => { -__webpack_require__.rv = () => ("1.3.11") -})(); -// webpack/runtime/rspack_unique_id -(() => { -__webpack_require__.ruid = "bundler=rspack@1.3.11"; - +__webpack_require__.rv = () => ("1.4.1") })(); /************************************************************************/ diff --git a/tests/fixtures/worker-config-dev-server-false/webpack.config.js b/tests/fixtures/worker-config-dev-server-false/webpack.config.js index c057c41..b4e2c86 100644 --- a/tests/fixtures/worker-config-dev-server-false/webpack.config.js +++ b/tests/fixtures/worker-config-dev-server-false/webpack.config.js @@ -21,6 +21,13 @@ module.exports = [ }, }, plugins: [new HTMLGeneratorPlugin()], + experiments: { + rspackFuture: { + bundlerInfo: { + force: ["version"] + } + } + } }, { name: "worker", @@ -41,5 +48,12 @@ module.exports = [ }, }, devServer: false, + experiments: { + rspackFuture: { + bundlerInfo: { + force: ["version"] + } + } + } }, ];