Skip to content

Commit

Permalink
docs(README.md): added lifecycle property
Browse files Browse the repository at this point in the history
  • Loading branch information
simonkovtyk committed Sep 28, 2024
1 parent b86bb7c commit 1fe9406
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,25 @@ esbuild.build({

### Properties

#### ``lifecycle``

> Default: ``onEnd``
An string with either the value ``onStart`` or ``onEnd``.

<details>
<summary>Show an example</summary>

````typescript
fileCopyPlugin({
lifecycle: "onStart"
});
````

</details>

[See here](https://esbuild.github.io/plugins/#concepts) for more about esbuild lifecycles.

#### ``inputs``

> Default: ``undefined``
Expand Down

0 comments on commit 1fe9406

Please sign in to comment.