);
diff --git a/frontend/src/pages/DateTimeConverter/index.jsx b/frontend/src/pages/DateTimeConverter/index.jsx
index 61ab2a7..cb6d455 100644
--- a/frontend/src/pages/DateTimeConverter/index.jsx
+++ b/frontend/src/pages/DateTimeConverter/index.jsx
@@ -221,7 +221,7 @@ export default function DateTimeConverter() {
};
return (
-
+
Date: Sun, 8 Feb 2026 19:22:24 +0700
Subject: [PATCH 2/2] fix: ibm plex mono font
---
vite.config.js | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/vite.config.js b/vite.config.js
index 0d0b508..6ce8f76 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1,6 +1,7 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import wails from "@wailsio/runtime/plugins/vite";
+import path from 'path';
// https://vitejs.dev/config/
export default defineConfig({
@@ -10,8 +11,23 @@ export default defineConfig({
scss: {
// Suppress expected carbon-design-system deprecation warnings
// until the library updates its internal Sass usage
- silenceDeprecations: ['legacy-js-api', 'import', 'global-builtin', 'if-function', 'mixed-decls', 'color-functions']
+ silenceDeprecations: ['modern', 'import', 'global-builtin', 'if-function', 'mixed-decls', 'color-functions'],
+ // Handle ~@ibm/plex/... imports from Carbon
+ importer: [
+ (url) => {
+ if (url.startsWith('~')) {
+ return { file: url.substring(1) };
+ }
+ return null;
+ }
+ ]
}
}
+ },
+ resolve: {
+ alias: {
+ // Ensure @ibm/plex can be resolved
+ '@ibm/plex': path.resolve(__dirname, 'node_modules/@ibm/plex')
+ }
}
})
\ No newline at end of file