Skip to content

Commit 76ec565

Browse files
committed
remove mentions of "external" as users probably already know
1 parent 24e78d9 commit 76ec565

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

README.md

-8
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,6 @@ esbuild.build({
202202
bundle: true,
203203
outfile: 'out.js',
204204
plugins: [ddPlugin],
205-
external: [ // this depends on the native modules used by your app
206-
'pg-native',
207-
'graphql/language/visitor',
208-
'graphql/language/printer',
209-
'graphql/utilities',
210-
],
211205
platform: 'node', // allows built-in modules to be required
212206
target: ['node16']
213207
}).catch((err) => {
@@ -216,8 +210,6 @@ esbuild.build({
216210
})
217211
```
218212

219-
When you run your build, if you get errors when encountering native modules, you'll need to add them to the `external` list. In the above example the application is using the native Postgres library as well as some native GraphQL libraries.
220-
221213

222214
## Security Vulnerabilities
223215

0 commit comments

Comments
 (0)