chore(build): enable source maps

This commit is contained in:
Elian Doran
2025-06-07 20:12:13 +03:00
parent 70cdc100d9
commit 7281233012
4 changed files with 5 additions and 1 deletions
+1
View File
@@ -55,6 +55,7 @@ export default defineConfig(() => ({
outDir: './dist',
emptyOutDir: true,
reportCompressedSize: true,
sourcemap: process.env.NODE_ENV === "production",
rollupOptions: {
input: {
desktop: join(__dirname, "src", "desktop.ts"),
+2 -1
View File
@@ -1,2 +1,3 @@
TRILIUM_PORT=37741
TRILIUM_DATA_DIR=../data
TRILIUM_DATA_DIR=../data
NODE_OPTIONS=--enable-source-maps
+1
View File
@@ -66,6 +66,7 @@
"minify": true,
"thirdParty": true,
"declaration": false,
"sourcemap": true,
"esbuildOptions": {
"splitting": false,
"loader": {
+1
View File
@@ -264,6 +264,7 @@
"minify": true,
"thirdParty": true,
"declaration": false,
"sourcemap": true,
"esbuildOptions": {
"splitting": false,
"loader": {