Skip to content

Commit

Permalink
EDSC-4351: Sets pg-native to external
Browse files Browse the repository at this point in the history
  • Loading branch information
macrouch committed Jan 28, 2025
1 parent b7a4112 commit 3913d07
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
12 changes: 6 additions & 6 deletions cdk/earthdata-search/lib/earthdata-search-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ export class EarthdataSearchStack extends cdk.Stack {
bundling: {
externalModules: [
'@aws-sdk/*',
'sharp',
'sqlite3',
'mysql',
'tedious',
'better-sqlite3',
'oracledb',
'mysql',
'mysql2',
'oracledb',
'pg-native',
'pg-query-stream',

'sharp',
'sqlite3',
'tedious'
],
loader: {
'.svg': 'text',
Expand Down
11 changes: 6 additions & 5 deletions esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ build({
'.svg': 'text'
},
external: [
'sqlite3',
'mysql',
'tedious',
'better-sqlite3',
'oracledb',
'mysql',
'mysql2',
'pg-query-stream'
'oracledb',
'pg-native',
'pg-query-stream',
'sqlite3',
'tedious'
]
}).catch(() => process.exit(1))

0 comments on commit 3913d07

Please sign in to comment.