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",