Skip to content

API / wxt / WxtDirFileEntry

Interface: WxtDirFileEntry ​

Source: packages/wxt/src/types.ts:1904

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

Contents ​

Properties ​

path ​

path: string

Source: packages/wxt/src/types.ts:1909

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


text ​

text: string

Source: packages/wxt/src/types.ts:1911

The text that will be written to the file.


tsReference? ​

optional tsReference?: boolean

Source: packages/wxt/src/types.ts:1913

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


Generated using typedoc-plugin-markdown and TypeDoc