Skip to content

Commit

Permalink
fixed tsup erors
Browse files Browse the repository at this point in the history
  • Loading branch information
amosmachora committed Dec 26, 2023
1 parent 83f91bc commit 869b8d5
Show file tree
Hide file tree
Showing 3 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 @@ -7,7 +7,7 @@
"types": "dist/index.d.ts",
"scripts": {
"test": "test",
"build": "tsup index.ts --format cjs,esm --dts --external axios --external react",
"build": "tsup src/index.ts --format cjs,esm --dts --external axios --external react",
"lint": "tsc",
"release": "pnpm run build && changeset publish"
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "./index.css";
import "../index.css";
import axios from "axios";
import {
AccountBalanceBody,
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig } from "tsup";

export default defineConfig({
entry: ["index.ts"],
entry: ["./src/index.ts"],
dts: true,
format: ["esm", "cjs"],
outDir: "dist", // Specify the output directory for your files
Expand Down

0 comments on commit 869b8d5

Please sign in to comment.