From a548581438943ca24ae26400246cfc3e65a41be8 Mon Sep 17 00:00:00 2001 From: Jichen Date: Tue, 26 Mar 2024 15:01:01 +0800 Subject: [PATCH] package json exports typing resolve --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6fe3c4806d9e22..3f75a5d95c4622 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "exports": { ".": { "import": "./build/three.module.js", - "require": "./build/three.cjs" + "require": "./build/three.cjs", + "types": "./index.d.ts" }, "./examples/fonts/*": "./examples/fonts/*", "./examples/jsm/*": "./examples/jsm/*",