Skip to content

Commit

Permalink
feat: support new build option drop from esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Jan 28, 2022
1 parent 0f72393 commit 54445ad
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
20 changes: 20 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,16 @@ Documentation: https://esbuild.github.io/api/#define.

---

##### `drop`<sup>Optional</sup> <a name="@mrgrain/cdk-esbuild.BuildOptions.property.drop"></a>

```typescript
public readonly drop: string[];
```

- *Type:* `string`[]

---

##### `entryNames`<sup>Optional</sup> <a name="@mrgrain/cdk-esbuild.BuildOptions.property.entryNames"></a>

```typescript
Expand Down Expand Up @@ -1059,6 +1069,16 @@ Documentation: https://esbuild.github.io/api/#define.

---

##### `drop`<sup>Optional</sup> <a name="@mrgrain/cdk-esbuild.TransformOptions.property.drop"></a>

```typescript
public readonly drop: string[];
```

- *Type:* `string`[]

---

##### `footer`<sup>Optional</sup> <a name="@mrgrain/cdk-esbuild.TransformOptions.property.footer"></a>

```typescript
Expand Down
44 changes: 44 additions & 0 deletions src/esbuild-types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 54445ad

Please sign in to comment.