Sandbox javascript build further
postgresql was failing to find configuration, add it to the sandbox.
When building JS, we were getting the following error:
[!] RollupError: Node tried to load your configuration file as CommonJS
even though it is likely an ES module. To resolve this, change the
extension of your configuration to ".mjs", set "type": "module" in your
package.json file or pass the "--bundleConfigAsCjs" flag.
Rename the configuration to be mjs to make it happy, and fix other leaks
found at the same time.
Change-Id: I59d8f9624b349ff5b27a6eeed8923f8d13d56744
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/debian/postgresql_amd64.BUILD b/debian/postgresql_amd64.BUILD
index 400ab82..16c351c 100644
--- a/debian/postgresql_amd64.BUILD
+++ b/debian/postgresql_amd64.BUILD
@@ -43,6 +43,7 @@
srcs = ["%s.sh" % binary],
data = glob([
"usr/lib/**/*",
+ "usr/share/postgresql/**/*",
"lib/**/*",
]),
visibility = ["//visibility:public"],