diff --git a/package.json b/package.json index d336ae5..9e51c8a 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,10 @@ "browser": "rbush.min.js", "jsdelivr": "rbush.min.js", "unpkg": "rbush.min.js", + "exports": { + "import": "./index.js", + "require": "./rbush.min.js" + }, "devDependencies": { "@rollup/plugin-buble": "^0.21.1", "@rollup/plugin-node-resolve": "^7.1.1",