diff --git a/packages/esbd/README.md b/packages/esbd/README.md index 252ffdf..bc97587 100644 --- a/packages/esbd/README.md +++ b/packages/esbd/README.md @@ -244,7 +244,7 @@ Take the following HTML entry point as an example: ```html - + @@ -269,7 +269,7 @@ The output for `index.html` will look something like this: ```html - + @@ -292,7 +292,7 @@ Entry name attributes can optionally reference values that appear in the `define ```html - + @@ -369,11 +369,11 @@ Note that these esbuild options are ignored: | Name | Type | Default | Description | | ---- | ---- | ------- | ----------- | -| cleanOutdir | `boolean` | `false` | Keep the output directory clean.

On the initial build, the output directory will be cleaned before the build starts.

When in watch mode (either directly or via `node-dev`/`serve`), output files will be tracked across builds and any files that are no longer produced by esbuild will be removed from the output directory. This ensures that no stale files are left behind when content hash changes cause files to be renamed or removed. Note that this is usually only relevant when ESM/splitting is enabled. | -| copy | `[from: string, to?: string][]` | - | Files to copy to the output directory during the build.

Each entry is a tuple representing the source file path to copy and, optionally, the destination file path.

Source paths may be absolute or relative to `absWorkingDir`. Destination paths may be absolute or relative to `outdir`. If no destination path is provided, the source file will be copied to `outdir` with the same name.

If `esbd` is started in a watch mode (serve, node-dev, or build --watch), source files will be watched and copied whenever they change.

Note that `copy` does not support glob patterns. | -| ignoreAssets | `boolean` | - | By default, assets (images, manifests, scripts, etc.) referenced by ``, `