Skip to content

API / wxt / WxtDirFileEntry

Interface: WxtDirFileEntry

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

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

Contents

Properties

path

path: string

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

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


text

text: string

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

The text that will be written to the file.


tsReference?

optional tsReference?: boolean

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

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


Generated using typedoc-plugin-markdown and TypeDoc