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:1877


text ​

text: string

The text that will be written to the file.

Source ​

packages/wxt/src/types.ts:1879


tsReference ​

tsReference?: boolean

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

Source ​

packages/wxt/src/types.ts:1881


Generated using typedoc-plugin-markdown and TypeDoc