Skip to content

Commit

Permalink
chore(setup): remove inline sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed Oct 15, 2024
1 parent d228390 commit f7304ab
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.12.0",
"typescript-eslint": "^8.9.0",
"@types/node": "^22.7.5",
"@vitest/coverage-v8": "^2.1.3",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -51,6 +51,7 @@
"tsup": "^8.3.0",
"typedoc": "^0.26.9",
"typescript": "^5.5.4",
"typescript-eslint": "^8.9.0",
"vitest": "^2.1.2",
"yoctocolors": "^2.1.1"
}
Expand Down
1 change: 1 addition & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default defineConfig({
sourcemap: true,
minify: Boolean(process.env.MINIFY),
esbuildOptions: options => {
options.sourcesContent = false;
options.mangleProps = /[^_]_$/;
options.mangleCache = mangleCache;
},
Expand Down

0 comments on commit f7304ab

Please sign in to comment.