main.ts 647 B

12345678910111213141516
  1. // Fonts are vendored, not fetched: a loopback reader for a local index must
  2. // work with the network off, and must not announce the project to a CDN.
  3. import '@fontsource-variable/archivo/wght.css';
  4. import '@fontsource/ibm-plex-mono/400.css';
  5. import '@fontsource/ibm-plex-mono/400-italic.css';
  6. import '@fontsource/ibm-plex-mono/500.css';
  7. import '@fontsource/ibm-plex-mono/600.css';
  8. import './app.css';
  9. import { mount } from 'svelte';
  10. import App from './App.svelte';
  11. const target = document.getElementById('app');
  12. if (!target) throw new Error('codegraph ui: #app host element is missing from index.html');
  13. export default mount(App, { target });