aboutsummaryrefslogtreecommitdiffstats
path: root/packages/renderer/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/renderer/vite.config.js')
-rw-r--r--packages/renderer/vite.config.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/renderer/vite.config.js b/packages/renderer/vite.config.js
index bcd1975..6440ead 100644
--- a/packages/renderer/vite.config.js
+++ b/packages/renderer/vite.config.js
@@ -3,10 +3,11 @@
3 3
4import { builtinModules } from 'module'; 4import { builtinModules } from 'module';
5import { join } from 'path'; 5import { join } from 'path';
6
6import react from '@vitejs/plugin-react'; 7import react from '@vitejs/plugin-react';
7 8
8import { banner, chrome } from '../../config/buildConstants.js'; 9import { banner, chrome } from '../../config/buildConstants.js';
9import { fileURLToDirname } from '../../config/utils.js'; 10import fileURLToDirname from '../../config/fileURLToDirname.js';
10 11
11const thisDir = fileURLToDirname(import.meta.url); 12const thisDir = fileURLToDirname(import.meta.url);
12 13
@@ -45,7 +46,7 @@ export default {
45 preserveSymlinks: true, 46 preserveSymlinks: true,
46 }, 47 },
47 optimizeDeps: { 48 optimizeDeps: {
48 link: [ 49 exclude: [
49 '@sophie/shared', 50 '@sophie/shared',
50 ], 51 ],
51 }, 52 },