From a5b8e6509abd84b589990b55334c579c965b6fef Mon Sep 17 00:00:00 2001 From: Adam Krebs Date: Tue, 6 Oct 2020 10:49:51 -0400 Subject: [PATCH] exports: false breaks node module loader See https://github.com/nodejs/node/issues/32107#issuecomment-642361654 This breaks the module loader on versions newer than node 12.16.x --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 52db087..334d0ec 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "4.0.3", "description": "dat.GUI reimagined for React", "main": "dist/index.cjs.js", - "exports": false, + "exports": "./dist/index.cjs.js", "module": "dist/index.es.js", "jsnext:main": "dist/index.es.js", "style": "dist/index.css",