]> zoso.dev Git - libnemo.git/commitdiff
Add project root alias for local imports.
authorChris Duncan <chris@zoso.dev>
Wed, 20 Nov 2024 21:32:42 +0000 (13:32 -0800)
committerChris Duncan <chris@zoso.dev>
Wed, 20 Nov 2024 21:32:42 +0000 (13:32 -0800)
package.json

index 62660006dd4481ec925644dbb125280007616ac7..4c4e215ac4371edaa7bd202c3941a6dee06511e0 100644 (file)
@@ -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"
        },