diff --git a/packages/rspack/package.json b/packages/rspack/package.json index c5bd9d1b84d2..0549365ae64c 100644 --- a/packages/rspack/package.json +++ b/packages/rspack/package.json @@ -38,7 +38,6 @@ "@rspack/plugin-minify": "workspace:^", "@rspack/plugin-node-polyfill": "workspace:^", "@types/watchpack": "^2.4.0", - "@types/webpack-sources": "3.2.3", "@types/ws": "8.5.10", "babel-loader": "^9.1.0", "babel-plugin-import": "^1.13.5", @@ -66,6 +65,7 @@ "dependencies": { "@module-federation/runtime-tools": "0.0.8", "@rspack/binding": "workspace:*", + "@types/webpack-sources": "3.2.3", "browserslist": "^4.21.3", "enhanced-resolve": "5.12.0", "events": "^3.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9a235c7c075d..7c4ffe2aa848 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -426,6 +426,9 @@ importers: '@swc/helpers': specifier: '>=0.5.1' version: 0.5.3 + '@types/webpack-sources': + specifier: 3.2.3 + version: 3.2.3 browserslist: specifier: ^4.21.3 version: 4.21.4 @@ -472,9 +475,6 @@ importers: '@types/watchpack': specifier: ^2.4.0 version: 2.4.0 - '@types/webpack-sources': - specifier: 3.2.3 - version: 3.2.3 '@types/ws': specifier: 8.5.10 version: 8.5.10 @@ -6371,7 +6371,6 @@ packages: /@types/source-list-map@0.1.2: resolution: {integrity: sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==} - dev: true /@types/ssri@7.1.1: resolution: {integrity: sha512-DPP/jkDaqGiyU75MyMURxLWyYLwKSjnAuGe9ZCsLp9QZOpXmDfuevk769F0BS86TmRuD5krnp06qw9nSoNO+0g==} @@ -6420,7 +6419,6 @@ packages: '@types/node': 20.9.4 '@types/source-list-map': 0.1.2 source-map: 0.7.4 - dev: true /@types/webpack@5.28.5(@swc/core@1.3.99)(webpack-cli@4.10.0): resolution: {integrity: sha512-wR87cgvxj3p6D0Crt1r5avwqffqPXUkNlnQ1mjU93G7gCuFjufZR4I6j8cz5g1F1tTYpfOOFvly+cmIQwL9wvw==} @@ -15090,7 +15088,6 @@ packages: /source-map@0.7.4: resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} engines: {node: '>= 8'} - dev: true /sourcemap-codec@1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==}