We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a23ce6 commit 7801bc8Copy full SHA for 7801bc8
packages/rspack-plugin/package.json
@@ -37,6 +37,11 @@
37
"peerDependencies": {
38
"@rspack/core": "*"
39
},
40
+ "peerDependenciesMeta": {
41
+ "@rspack/core": {
42
+ "optional": true
43
+ }
44
+ },
45
"publishConfig": {
46
"access": "public",
47
"provenance": true,
packages/rspack-plugin/src/multiple.ts
@@ -4,7 +4,7 @@ import type { RsdoctorMultiplePluginOptions } from '@rsdoctor/core';
4
5
import { RsdoctorRspackPlugin } from './plugin';
6
import { normalizeUserConfig } from '@rsdoctor/core/plugins';
7
-import { Compiler } from '@rspack/core';
+import type { Compiler } from '@rspack/core';
8
9
let globalController: RsdoctorSDKController | undefined;
10
0 commit comments