From 2d7614e1fb7b4114f01eaa18f7b871ec448d728d Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Wed, 20 Nov 2024 13:32:42 -0800 Subject: [PATCH] Add project root alias for local imports. --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 6266000..4c4e215 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,9 @@ "test:coverage": "npm run test -- --experimental-test-coverage", "test:coverage:report": "npm run test:coverage -- --test-reporter=lcov --test-reporter-destination=coverage.info && genhtml coverage.info --output-directory test/coverage && rm coverage.info && xdg-open test/coverage/index.html" }, + "imports": { + "#*": "./*" + }, "dependencies": { "blake2b": "^2.1.4" }, -- 2.34.1