diff --git a/.gitignore b/.gitignore index cccfc87..34da549 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ node_modules/ lib/ -es/ +esm/ diff --git a/package.json b/package.json index cdbed55..0871f83 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "@hibas123/utils", - "version": "2.2.7", + "version": "2.2.10", "description": "Different Utilities, that are not worth own packages", "main": "lib/index.js", "types": "lib/index.d.ts", - "module": "es/index.js", + "module": "esm/index.js", "scripts": { "prepublishOnly": "npm run build", "build": "tsc && tsc -p tsconfig.esm.json", @@ -22,6 +22,8 @@ "files": [ "src/", "lib/", + "esm/", + "tsconfig.esm.json", "tsconfig.json", "readme.md" ], diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 346bc1d..29cba0b 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -3,6 +3,6 @@ "compilerOptions": { "module": "ESNext", "moduleResolution": "classic", - "outDir": "es" + "outDir": "esm" } }