mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-10-25 00:44:38 +02:00 
			
		
		
		
	 f14ad61bd0
			
		
	
	f14ad61bd0
	
	
	
		
			
			* build: move build process and excalidraw-app dependencies in its own package.json * fix * fix public path * move bug-issue-template to excalidraw-app * make env vars accessible in excalidraw app * update build script * install when building * add ts ignore * fix build-version script * update config in vercel.json * add vercel config for example * fix vercel config * update install script in vercel * update install script in lint.yml * update install script in test workflows * push locales to locales folder pwa * add favicons to manifest * move react to peer deps in editor * fix ts * Enable vite intellisense * add global.d.ts for excalidraw-app * remove console.log * remove react, react-dom and vite from excalidraw-app deps * increase size limit
		
			
				
	
	
		
			16 lines
		
	
	
		
			443 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			443 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { StrictMode } from "react";
 | |
| import { createRoot } from "react-dom/client";
 | |
| import ExcalidrawApp from "./App";
 | |
| import { registerSW } from "virtual:pwa-register";
 | |
| 
 | |
| import "../excalidraw-app/sentry";
 | |
| window.__EXCALIDRAW_SHA__ = import.meta.env.VITE_APP_GIT_SHA;
 | |
| const rootElement = document.getElementById("root")!;
 | |
| const root = createRoot(rootElement);
 | |
| registerSW();
 | |
| root.render(
 | |
|   <StrictMode>
 | |
|     <ExcalidrawApp />
 | |
|   </StrictMode>,
 | |
| );
 |