From 57edc80bbf108d69c26926edc07a928175746cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Isager=20Dalsgar=C3=B0?= Date: Fri, 2 Feb 2024 16:02:50 +0100 Subject: [PATCH] Add `imports` map for Bare (#40) --- package.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package.json b/package.json index fd36f4a..09fd2e4 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,16 @@ "index.js", "browser.js" ], + "imports": { + "fs": { + "bare": "bare-fs", + "default": "fs" + }, + "path": { + "bare": "bare-path", + "default": "fs" + } + }, "dependencies": { "random-access-storage": "^3.0.0" },