Skip to content

Commit

Permalink
docs: add docs for how to mark individual packages as external (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavynriebau committed Nov 4, 2021
1 parent 30cca67 commit ed88847
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ custom:

To easily mark all the `dependencies` in `package.json` as `external`, you can utilize `esbuild-node-externals` [plugin](https://www.npmjs.com/package/esbuild-node-externals).

To mark one or more individual packages as external, use the following configuration:

```yml
custom:
esbuild:
external:
- 'my-package-name'
- 'another-package-name'
```

### Passing Extra Arguments to Packager

This might be required to resolve some issues on package installation.
Expand Down

0 comments on commit ed88847

Please sign in to comment.