diff options
author | 2021-12-28 20:13:45 +0100 | |
---|---|---|
committer | 2021-12-28 20:13:45 +0100 | |
commit | 5c38af061348ec604337280009775832edc66270 (patch) | |
tree | 4047f1e120116c8e2f893d9173b2f60e9ca36525 /packages/main/vite.config.js | |
parent | refactor: Simpler logging with loglevel (diff) | |
download | sophie-5c38af061348ec604337280009775832edc66270.tar.gz sophie-5c38af061348ec604337280009775832edc66270.tar.zst sophie-5c38af061348ec604337280009775832edc66270.zip |
refactor: Switch back to consola for prettyness
Diffstat (limited to 'packages/main/vite.config.js')
-rw-r--r-- | packages/main/vite.config.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/main/vite.config.js b/packages/main/vite.config.js index bdb0ca1..b239b96 100644 --- a/packages/main/vite.config.js +++ b/packages/main/vite.config.js | |||
@@ -20,6 +20,12 @@ 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 the nodejs version of consola to be resolved. | ||
26 | 'consola': 'consola/dist/consola.js', | ||
27 | }, | ||
28 | }, | ||
23 | build: { | 29 | build: { |
24 | target: node, | 30 | target: node, |
25 | lib: { | 31 | lib: { |