diff --git a/package.json b/package.json index 9170280..39cf5d7 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,13 @@ "description": "", "exports": { ".": { - "import": "./dist/index.es.js", + "import": "./dist/index.es.mjs", "require": "./dist/index.cjs.js", "types": "./dist/index.d.ts" } }, "main": "dist/index.cjs.js", - "module": "dist/index.es.js", + "module": "dist/index.es.mjs", "types": "dist/index.d.ts", "author": "https://getstream.io", "license": "See license in LICENSE", diff --git a/rollup.config.mjs b/rollup.config.mjs index 51d4e2f..91cf92b 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -14,7 +14,7 @@ const nodeConfig = { sourcemap: true, }, { - file: "dist/index.es.js", + file: "dist/index.es.mjs", format: "es", sourcemap: true, },