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 fae5a08 commit 02da18fCopy full SHA for 02da18f
packages/rspack/src/ModuleFederationPlugin.ts
@@ -71,9 +71,12 @@ export class ModuleFederationPlugin implements RspackPluginInstance {
71
72
options.implementation = options.implementation || RuntimeToolsPath;
73
let disableManifest = options.manifest === false;
74
+ let disableDts = options.dts === false;
75
- // @ts-ignore
76
- new DtsPlugin(options).apply(compiler);
+ if (!disableDts) {
77
+ // @ts-ignore
78
+ new DtsPlugin(options).apply(compiler);
79
+ }
80
81
if (!disableManifest && options.exposes) {
82
try {
0 commit comments