Skip to content

Commit

Permalink
fix: add outputDir in DevDtsPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
2heal1 committed Dec 26, 2024
1 parent 0ffd34e commit 272bd38
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/dts-plugin/src/plugins/DevPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ export class DevPlugin implements WebpackPluginInstance {
? undefined
: normalizedDtsOptions.implementation,
context: compiler.context,
outputDir: path.relative(
compiler.context,
compiler.outputPath || compiler.options.output.path,
),
moduleFederationConfig: {
...this._options,
},
Expand Down

0 comments on commit 272bd38

Please sign in to comment.