@openhi/constructs 0.0.136 → 0.0.137
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +5 -4
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +5 -4
- package/lib/index.mjs.map +1 -1
- package/package.json +3 -3
package/lib/index.mjs
CHANGED
|
@@ -1469,10 +1469,11 @@ var DataStorePostgresReplica = class extends Construct6 {
|
|
|
1469
1469
|
bundling: {
|
|
1470
1470
|
minify: true,
|
|
1471
1471
|
sourceMap: false,
|
|
1472
|
-
// pg
|
|
1473
|
-
//
|
|
1474
|
-
//
|
|
1475
|
-
|
|
1472
|
+
// pg's conditional optional deps (pg-native, pg-cloudflare) are
|
|
1473
|
+
// marked external so esbuild does not try to resolve them — pg's
|
|
1474
|
+
// runtime code wraps the requires in try/catch and falls back to
|
|
1475
|
+
// the pure-JS client when they are not present.
|
|
1476
|
+
externalModules: ["pg-native", "pg-cloudflare"]
|
|
1476
1477
|
}
|
|
1477
1478
|
});
|
|
1478
1479
|
this.cluster.secret.grantRead(this.replicationFunction);
|