Skip to content

Commit

Permalink
chore: update package.json, no sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Jul 5, 2024
1 parent d2e1ecd commit b3f107e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 35 deletions.
42 changes: 8 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,18 @@
"description": "Ubiquity logging module with Supabase support.",
"author": "Ubiquity DAO",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"tsup": {
"entry": [
"src/logs.ts",
"src/pretty-logs.ts"
],
"splitting": false,
"sourcemap": true,
"clean": true,
"dts": true,
"format": ["cjs", "esm"]
},
"files": [
"dist/*"
],
"main": "./dist/logs.js",
"typesVersions": {
"*": {
".": [
"./dist/logs.d.ts"
],
"pretty-logs": [
"./dist/pretty-logs.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/logs.d.ts",
"require": "./dist/logs.cjs",
"import": "./dist/logs.js"
},
"./pretty-logs": {
"types": "./dist/pretty-logs.d.ts",
"require": "./dist/pretty-logs.cjs",
"import": "./dist/pretty-logs.js"
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist/*"
],
"scripts": {
"build": "tsup",
"prepare": "husky install",
Expand Down Expand Up @@ -95,4 +69,4 @@
]
},
"packageManager": "yarn@1.22.22"
}
}
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from "tsup"
export default defineConfig({
entry: ["src/index.ts"],
splitting: false,
sourcemap: true,
sourcemap: false,
clean: true,
dts: true,
target: "esnext",
Expand Down

0 comments on commit b3f107e

Please sign in to comment.