Skip to content

Commit

Permalink
fix: rename esm bundles to .mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulthink committed Jan 15, 2025
1 parent 3f70c88 commit 7803f04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"author": "Justin Poehnelt",
"main": "dist/index.umd.js",
"unpkg": "dist/index.min.js",
"module": "dist/index.esm.js",
"module": "dist/index.esm.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/*"
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default [
typescript({ tsconfig: "./tsconfig.json", declarationDir: "./" }),
],
output: {
file: "dist/index.esm.js",
file: "dist/index.esm.mjs",
format: "esm",
sourcemap: true,
name: "markerClusterer",
Expand Down

0 comments on commit 7803f04

Please sign in to comment.