components
Standalone

Paths to component files that should appear in the Assets Panel.

Usage

Pass an array of file globs relative to the config file.

.triplex/config.json
{
  "files": ["../src/components/**/*.tsx"]
}

Multiple Directories

Target different directories by passing in multiple items.

.triplex/config.json
{
  "files": ["../src/prefabs/**/*.tsx", "../src/meshes/**/*.tsx"]
}

File Extensions

Target files with different file extensions using expansions.

.triplex/config.json
{
  "files": ["../src/components/**/*.{jsx,tsx}"]
}
Was this page helpful?