From 8c85fabed2b0340ce9b75e2ba21f24c14c52d789 Mon Sep 17 00:00:00 2001 From: younggwon Date: Thu, 18 Jul 2024 10:05:12 +0900 Subject: [PATCH] fix: remove esm dir --- package.json | 2 +- vite.config.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 99f2bf4e..3052aae4 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/vite.config.ts b/vite.config.ts index 894ef676..2dde4b26 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -33,7 +33,6 @@ export default defineConfig({ preserveModules: true, preserveModulesRoot: 'src', entryFileNames: '[name].mjs', - dir: 'dist/esm', }, ], },