Skip to content

Commit

Permalink
fix: remove sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBrick committed Jan 11, 2025
1 parent 0490d83 commit b4007c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions farm.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import solid from 'vite-plugin-solid';

export default defineConfig({
compilation: {
sourcemap: false,
input: {
main: path.join(__dirname, './renderer/index.html'),
settings: path.join(__dirname, './renderer/settings.html'),
Expand All @@ -32,6 +33,7 @@ export default defineConfig({
input: './index.ts',
farm: {
compilation: {
sourcemap: false,
externalNodeBuiltins: true,
external: [
'^electron$',
Expand All @@ -55,6 +57,7 @@ export default defineConfig({
input: './src/preload.ts',
farm: {
compilation: {
sourcemap: false,
externalNodeBuiltins: true,
external: [
'^electron$',
Expand Down

0 comments on commit b4007c1

Please sign in to comment.