Skip to content

Commit

Permalink
fix: remove esm dir
Browse files Browse the repository at this point in the history
  • Loading branch information
lebmouse committed Jul 18, 2024
1 parent 2992e59 commit 8c85fab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"exports": {
".": {
"require": "./dist/index.js",
"import": "./esm/index.mjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
Expand Down
1 change: 0 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export default defineConfig({
preserveModules: true,
preserveModulesRoot: 'src',
entryFileNames: '[name].mjs',
dir: 'dist/esm',
},
],
},
Expand Down

0 comments on commit 8c85fab

Please sign in to comment.