From 829322e7fba6cd81ba25f2b2f803174857d616fa Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sat, 15 Aug 2026 13:16:11 -0700 Subject: [PATCH] Load packages with import map instead of dynamic import. --- package.json | 4 +-- index.html => test/index.html | 61 ++++++++++++++++----------------- test.mjs => test/node.mjs | 0 vectors.mjs => test/vectors.mjs | 0 4 files changed, 31 insertions(+), 34 deletions(-) rename index.html => test/index.html (93%) rename test.mjs => test/node.mjs (100%) rename vectors.mjs => test/vectors.mjs (100%) diff --git a/package.json b/package.json index d8c8fea..44f7292 100644 --- a/package.json +++ b/package.json @@ -36,8 +36,8 @@ "clean": "rm -rf {build,dist,types}", "compile": "asc ./src/assembly/index.ts && tsc", "prepublishOnly": "npm run test:prod", - "test": "npm run build && node ./test.mjs", - "test:prod": "npm run build:prod && node ./test.mjs" + "test": "npm run build && node ./test/node.mjs", + "test:prod": "npm run build:prod && node ./test/node.mjs" }, "devDependencies": { "@types/node": "26.2.0", diff --git a/index.html b/test/index.html similarity index 93% rename from index.html rename to test/index.html index aef5223..dab6324 100644 --- a/index.html +++ b/test/index.html @@ -7,43 +7,40 @@ SPDX-License-Identifier: GPL-3.0-or-later - - - - - - +