From f2ae3d96069dd1f46507900c39fca0ec89f3dfe3 Mon Sep 17 00:00:00 2001 From: Paulius Varna Date: Tue, 3 Dec 2024 13:51:50 +0200 Subject: [PATCH] fix: update exports to work with current release workflow (#1275) --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3ef3fc3a..a364e617 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,12 @@ "drawing" ], "type": "module", - "exports": "./index.js", + "exports": { + ".": "./index.js", + "./dist/mapbox-gl-draw-unminified.js": "./dist/mapbox-gl-draw-unminified.js", + "./dist/mapbox-gl-draw.js": "./dist/mapbox-gl-draw.js", + "./dist/mapbox-gl-draw.css": "./dist/mapbox-gl-draw.css" + }, "main": "dist/mapbox-gl-draw.js", "browser": "dist/mapbox-gl-draw.js", "style": "dist/mapbox-gl-draw.css",