@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.js
CHANGED
|
@@ -2322,10 +2322,11 @@ var DataStorePostgresReplica = class extends import_constructs6.Construct {
|
|
|
2322
2322
|
bundling: {
|
|
2323
2323
|
minify: true,
|
|
2324
2324
|
sourceMap: false,
|
|
2325
|
-
// pg
|
|
2326
|
-
//
|
|
2327
|
-
//
|
|
2328
|
-
|
|
2325
|
+
// pg's conditional optional deps (pg-native, pg-cloudflare) are
|
|
2326
|
+
// marked external so esbuild does not try to resolve them — pg's
|
|
2327
|
+
// runtime code wraps the requires in try/catch and falls back to
|
|
2328
|
+
// the pure-JS client when they are not present.
|
|
2329
|
+
externalModules: ["pg-native", "pg-cloudflare"]
|
|
2329
2330
|
}
|
|
2330
2331
|
});
|
|
2331
2332
|
this.cluster.secret.grantRead(this.replicationFunction);
|