From 1696694f71be5a71e12cd5dd1cc49618de059f6d Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 22 Jul 2024 14:29:56 +0800 Subject: [PATCH] fix(runtime): remove unused @loadable/webpack-plugin dependency (#5976) --- .changeset/yellow-eels-hear.md | 5 +++++ packages/runtime/plugin-runtime/package.json | 1 - packages/runtime/plugin-runtime/src/cli/types.d.ts | 1 - pnpm-lock.yaml | 13 ------------- 4 files changed, 5 insertions(+), 15 deletions(-) create mode 100644 .changeset/yellow-eels-hear.md delete mode 100644 packages/runtime/plugin-runtime/src/cli/types.d.ts diff --git a/.changeset/yellow-eels-hear.md b/.changeset/yellow-eels-hear.md new file mode 100644 index 000000000000..e22bb4e11b01 --- /dev/null +++ b/.changeset/yellow-eels-hear.md @@ -0,0 +1,5 @@ +--- +'@modern-js/runtime': patch +--- + +fix: remove unused @loadable/webpack-plugin dependency diff --git a/packages/runtime/plugin-runtime/package.json b/packages/runtime/plugin-runtime/package.json index ad075c294db9..c03c7ae1aed1 100644 --- a/packages/runtime/plugin-runtime/package.json +++ b/packages/runtime/plugin-runtime/package.json @@ -189,7 +189,6 @@ "@loadable/babel-plugin": "5.15.3", "@loadable/component": "5.15.3", "@loadable/server": "5.15.3", - "@loadable/webpack-plugin": "5.15.2", "@modern-js-reduck/plugin-auto-actions": "^1.1.10", "@modern-js-reduck/plugin-devtools": "^1.1.10", "@modern-js-reduck/plugin-effects": "^1.1.10", diff --git a/packages/runtime/plugin-runtime/src/cli/types.d.ts b/packages/runtime/plugin-runtime/src/cli/types.d.ts deleted file mode 100644 index 6733a32be708..000000000000 --- a/packages/runtime/plugin-runtime/src/cli/types.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare module '@loadable/webpack-plugin'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2ab870eab65c..44db3f176613 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2926,9 +2926,6 @@ importers: '@loadable/server': specifier: 5.15.3 version: 5.15.3(@loadable/component@5.15.3)(react@18.2.0) - '@loadable/webpack-plugin': - specifier: 5.15.2 - version: 5.15.2(webpack@5.93.0) '@modern-js-reduck/plugin-auto-actions': specifier: ^1.1.10 version: 1.1.10(@modern-js-reduck/store@1.1.10) @@ -13020,16 +13017,6 @@ packages: react: 18.2.0 dev: false - /@loadable/webpack-plugin@5.15.2(webpack@5.93.0): - resolution: {integrity: sha512-+o87jPHn3E8sqW0aBA+qwKuG8JyIfMGdz3zECv0t/JF0KHhxXtzIlTiqzlIYc5ZpFs/vKSQfjzGIR5tPJjoXDw==} - engines: {node: '>=8'} - peerDependencies: - webpack: '>=4.6.0' - dependencies: - make-dir: 3.1.0 - webpack: 5.93.0(esbuild@0.17.19) - dev: false - /@manypkg/find-root@1.1.0: resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} dependencies: