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


text

text: string

The text that will be written to the file.

Source

packages/wxt/src/types.ts:1618


tsReference

tsReference?: boolean

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

Source

packages/wxt/src/types.ts:1622


Generated using typedoc-plugin-markdown and TypeDoc