diff --git a/package.json b/package.json index 64fe813d3..3191a41f5 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,23 @@ ] } }, + "exports": { + ".": { + "types": "./build/ts/index.d.ts", + "esnext": "./build/esm/index.esnext", + "module": "./build/esm/index.js", + "import": "./build/esm/index.js", + "default": "./build/cjs/index.js" + }, + "./PolarisVizProvider": { + "types": "./build/ts/index.d.ts", + "esnext": "./build/esm/components/PolarisVizProvider/PolarisVizProvider.esnext", + "module": "./build/esm/components/PolarisVizProvider/PolarisVizProvider.js", + "import": "./build/esm/components/PolarisVizProvider/PolarisVizProvider.js", + "default": "./build/cjs/components/PolarisVizProvider/PolarisVizProvider.js" + }, + "./*": "./*" + }, "scripts": { "build": "loom build", "storybook": "STORYBOOK_SHOW=dev start-storybook -p 6006 -s public",