From d85e4e6a70666fc550d1adcfcecec27ccd0aeca2 Mon Sep 17 00:00:00 2001 From: Vincent Fretin Date: Mon, 12 Aug 2024 11:24:14 +0200 Subject: [PATCH] Use relative path for main and exports '.' (fix #450) (#451) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6958a962..bab53d69 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,9 @@ "description": "Add-ons and examples for A-Frame VR.", "author": "Don McCurdy ", "license": "MIT", - "main": "index.js", + "main": "./index.js", "exports": { - ".": "index.js", + ".": "./index.js", "./controls/*": "./src/controls/*", "./loaders/*": "./src/loaders/*", "./misc/*": "./src/misc/*",