From 1c28e8ee1a8683a851176f966db6c1233e8a1894 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Wed, 25 Feb 2026 14:28:26 -0800 Subject: [PATCH] Avoid committing sensitive environment variables. Optimize WASM build for speed and product text file for analysis. --- .gitignore | 4 ++++ asconfig.json | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0dd2f76..15adba0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,10 @@ # SPDX-FileCopyrightText: 2026 Chris Duncan # SPDX-License-Identifier: GPL-3.0-or-later +# dotenv environment variables file +.env +env.* + # Dependency directories node_modules/ diff --git a/asconfig.json b/asconfig.json index 07387d5..11c4e61 100644 --- a/asconfig.json +++ b/asconfig.json @@ -1,8 +1,9 @@ { "options": { "outFile": "./build/nano-nacl.wasm", + "textFile": "./build/nano-nacl.wat", "optimizeLevel": 3, - "shrinkLevel": 2, + "shrinkLevel": 0, "converge": true, "noAssert": true, "uncheckedBehavior": "always", -- 2.47.3