Skip to content

Commit

Permalink
try fixing the package issues
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkulpinski committed Dec 17, 2024
1 parent cc61ccf commit 9105bfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
{
"name": "@curiousleaf/utils",
"description": "A lightweight set of utilities",
"version": "1.0.39",
"version": "1.0.40",
"license": "MIT",
"type": "module",
"author": {
"name": "Piotr Kulpinski",
"email": "piotr@kulpinski.pl",
"url": "https://kulpinski.pl"
},
"repository": "curious-leaf/utils",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"files": ["dist"],
"scripts": {
"build": "tsup",
"lint": "bun biome lint --apply .",
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from "tsup"

export default defineConfig({
entry: ["src/index.ts"],
format: ["cjs", "esm"], // Build for commonJS and ESmodules
format: ["esm"], // Build for commonJS and ESmodules
dts: true, // Generate declaration file (.d.ts)
splitting: false,
sourcemap: true,
Expand Down

0 comments on commit 9105bfe

Please sign in to comment.