Skip to content

on > copy

A file to copy when the event is triggered.

Used by: on

Attributes

Attribute Type Description
from string The source file to copy from. Absolute paths reference the file system while relative paths are against the manifest source bundle.
mode number? File mode of file.
to string The relative destination to copy to, based on the context.