Skip to content

Commit

Permalink
docs: examples reference outDir vs. outputDir (#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
the-syndrome authored Sep 15, 2024
1 parent 9d560f9 commit 26197f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/go-further/reusable-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default defineWxtModule({
name: 'changelog',
// Point to the "modules/changelog.html" file
inputPath: resolve(__dirname, 'changelog.html'),
outputDir: wxt.config.outputDir,
outputDir: wxt.config.outDir,
options: {},
});
},
Expand Down
2 changes: 1 addition & 1 deletion packages/wxt/src/modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function defineWxtModule<TOptions extends WxtModuleOptions>(
* type: "content-script",
* name: "some-name",
* inputPath: entrypointPath,
* outputDir: wxt.config.outputDir,
* outputDir: wxt.config.outDir,
* options: await wxt.builder.importEntrypoint(entrypointPath),
* });
* });
Expand Down

0 comments on commit 26197f1

Please sign in to comment.