diff --git a/package.json b/package.json index 3c21064..72ed874 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "correios-api-client", "version": "0.0.0", "description": "A lightweight client for interfacing with the Correios API. Facilitates seamless integration of Brazil's postal services into JavaScript applications, including features for tracking, delivery estimates, pricing, and address lookup (CEP).", - "main": "main.js", + "main": "index.js", "scripts": { "build": "vite build", "build-dts": "vite build && dts-bundle-generator ./src/index.ts -o ./dist/index.d.ts", diff --git a/vite.config.ts b/vite.config.ts index 7e36495..90d71b4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,10 +6,10 @@ export default defineConfig({ target: "es2022", lib: { entry: [ - "src/main.ts" + "src/index.ts" ], name: "correios-api-client", - fileName: "main", + fileName: "index", }, commonjsOptions: { ignore: [...builtinModules],