diff --git a/package.json b/package.json index b488e026..1562a03c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "main": "./dist/index.js", "exports": { "require": "./dist/index.js", - "default": "./dist/index-esm.mjs" + "default": "./dist/index.js" }, "publishConfig": { "access": "public" diff --git a/rollup.config.js b/rollup.config.mjs similarity index 80% rename from rollup.config.js rename to rollup.config.mjs index e0ed737a..b6fa6f2d 100644 --- a/rollup.config.js +++ b/rollup.config.mjs @@ -6,7 +6,6 @@ export default { resolve({}), ], output: [ - { format: 'esm', file: './dist/index-esm.mjs' }, { format: 'cjs', file: './dist/index.js' }, ], external: [],