From: Chris Duncan Date: Wed, 20 Nov 2024 21:32:42 +0000 (-0800) Subject: Add project root alias for local imports. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=2d7614e1fb7b4114f01eaa18f7b871ec448d728d;p=libnemo.git Add project root alias for local imports. --- 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" },