Skip to content

Commit b4a1674

Browse files
committed
dev: sourcemap
1 parent cbbfc3a commit b4a1674

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

electron.vite.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ import { cjsInterop } from 'vite-plugin-cjs-interop'
66

77
export default defineConfig({
88
main: {
9+
build: {
10+
sourcemap: true,
11+
minify: false // Disable minification for better profiling
12+
},
913
plugins: [
10-
process.platform !== 'darwin' && bytecodePlugin({ transformArrowFunctions: false }),
14+
// process.platform !== 'darwin' && bytecodePlugin({ transformArrowFunctions: false }),
1115
externalizeDepsPlugin(),
1216
cjsInterop({ dependencies: ['@paymoapp/electron-shutdown-handler'] }),
1317
license({

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hayase",
3-
"version": "6.4.19",
3+
"version": "6.4.20",
44
"description": "Hayase - Torrent streaming made simple",
55
"main": "./out/main/index.js",
66
"repository": "github:hayase-app/ui",

0 commit comments

Comments
 (0)