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/index.ts:1415


text

text: string

The text that will be written to the file.

Source

packages/wxt/src/types/index.ts:1419


tsReference

tsReference?: boolean

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

Source

packages/wxt/src/types/index.ts:1423


Generated using typedoc-plugin-markdown and TypeDoc