Skip to content

API > wxt > CopiedPublicFile

Interface: CopiedPublicFile ​

Contents ​

Extends ​

Properties ​

absoluteSrc ​

absoluteSrc: string

The absolute path to the file that will be copied to the output directory.

Example ​

ts
'/path/to/any/file.css';

Source ​

packages/wxt/src/types.ts:1839


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