diff options
author | 2021-12-28 19:56:09 +0100 | |
---|---|---|
committer | 2021-12-28 19:56:09 +0100 | |
commit | e2a611620027063d3c8a60c257004c847bf636da (patch) | |
tree | 84f9f9c1d6d753d7ce15c2b7e441b6bb06869c3a /packages/main/vite.config.js | |
parent | feat: Add consola logging (diff) | |
download | sophie-e2a611620027063d3c8a60c257004c847bf636da.tar.gz sophie-e2a611620027063d3c8a60c257004c847bf636da.tar.zst sophie-e2a611620027063d3c8a60c257004c847bf636da.zip |
refactor: Simpler logging with loglevel
Diffstat (limited to 'packages/main/vite.config.js')
-rw-r--r-- | packages/main/vite.config.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/main/vite.config.js b/packages/main/vite.config.js index d6f9373..bdb0ca1 100644 --- a/packages/main/vite.config.js +++ b/packages/main/vite.config.js | |||
@@ -20,12 +20,6 @@ const config = makeConfig({ | |||
20 | 'global.process.env': 'global.process["env"]', | 20 | 'global.process.env': 'global.process["env"]', |
21 | 'globalThis.process.env': 'globalThis.process["env"]', | 21 | 'globalThis.process.env': 'globalThis.process["env"]', |
22 | }, | 22 | }, |
23 | resolve: { | ||
24 | alias: { | ||
25 | // Force resolve consola to the nodejs version. | ||
26 | consola: 'consola/dist/consola.js', | ||
27 | }, | ||
28 | }, | ||
29 | build: { | 23 | build: { |
30 | target: node, | 24 | target: node, |
31 | lib: { | 25 | lib: { |