From 7a723a8bba8f9b027eb16b900787c29bef9f88bc Mon Sep 17 00:00:00 2001 From: Valerio Date: Mon, 20 Jan 2025 09:12:36 +0100 Subject: [PATCH] feat: added release version in console (#374) --- src/main.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main.tsx b/src/main.tsx index ab0c5d69..cd19101c 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,10 +1,13 @@ // import { StrictMode } from 'react' -import { createRoot } from 'react-dom/client' -import App from './app/App.tsx' +import { createRoot } from 'react-dom/client'; +import App from './app/App.tsx'; // import './index.css' +import packageJson from '../package.json'; + +console.log(`${packageJson.name} ${packageJson.version}`); createRoot(document.getElementById('app')!).render( // - + // , )