Skip to content

API > wxt > WxtDirFileEntry

Interface: WxtDirFileEntry

Represents a file to be written to the project's .wxt/ directory.

Contents

Properties

path

path: string

Path relative to the .wxt/ directory. So "tsconfig.json" would resolve to ".wxt/tsconfig.json".

Source

packages/wxt/src/types.ts:1569


text

text: string

The text that will be written to the file.

Source

packages/wxt/src/types.ts:1573


tsReference

tsReference?: boolean

Set to true to add a reference to this file in .wxt/wxt.d.ts.

Source

packages/wxt/src/types.ts:1577


Generated using typedoc-plugin-markdown and TypeDoc