diff --git a/packages/core/src/config.ts b/packages/core/src/config.ts index 43f224624..f9f94156d 100644 --- a/packages/core/src/config.ts +++ b/packages/core/src/config.ts @@ -613,7 +613,6 @@ const composeFormatConfig = ({ }, chunkLoading: 'import', workerChunkLoading: 'import', - wasmLoading: 'fetch', }, experiments: { outputModule: true, @@ -643,7 +642,6 @@ const composeFormatConfig = ({ }, chunkLoading: 'require', workerChunkLoading: 'async-node', - wasmLoading: 'async-node', }, plugins, }, diff --git a/packages/core/tests/__snapshots__/config.test.ts.snap b/packages/core/tests/__snapshots__/config.test.ts.snap index 7c70d128a..d4c1c0513 100644 --- a/packages/core/tests/__snapshots__/config.test.ts.snap +++ b/packages/core/tests/__snapshots__/config.test.ts.snap @@ -216,7 +216,6 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i "type": "modern-module", }, "module": true, - "wasmLoading": "fetch", "workerChunkLoading": "import", }, "plugins": [ @@ -482,7 +481,6 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i "library": { "type": "commonjs-static", }, - "wasmLoading": "async-node", "workerChunkLoading": "async-node", }, "plugins": [