Skip to content

Commit

Permalink
fixed entry file
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenscordeirobr committed Sep 24, 2023
1 parent f0e937b commit 039a2d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 039a2d6

Please sign in to comment.