Skip to content

API > wxt > GeneratedPublicFile

Interface: GeneratedPublicFile ​

Contents ​

Extends ​

Properties ​

contents ​

contents: string

Text to write to the file.

Source ​

packages/wxt/src/types.ts:1844


relativeDest ​

relativeDest: string

The relative path in the output directory to copy the file to.

Example ​

ts
'content-scripts/base-styles.css';

Inherited from ​

ResolvedBasePublicFile.relativeDest

Source ​

packages/wxt/src/types.ts:1829


Generated using typedoc-plugin-markdown and TypeDoc