Download frontend/src/main.ts from openfree/graphite2: direct link, hf CLI and curl.
- Browser
- Download file 714 Bytes
-
https://huggingface.co/spaces/openfree/graphite2/resolve/main/frontend/src/main.ts
- Command line
-
hf download hf://spaces/openfree/graphite2/frontend/src/main.ts
-
curl -L -o main.ts https://huggingface.co/spaces/openfree/graphite2/resolve/main/frontend/src/main.ts
714 Bytes
| // This file is the browser's entry point for the JS bundle | |
| // Fonts | |
| import "@fontsource/inconsolata"; | |
| import "@fontsource/source-sans-pro/400-italic.css"; | |
| import "@fontsource/source-sans-pro/400.css"; | |
| import "@fontsource/source-sans-pro/700-italic.css"; | |
| import "@fontsource/source-sans-pro/700.css"; | |
| // `reflect-metadata` allows for runtime reflection of types in JavaScript. | |
| // It is needed for class-transformer to work and is imported as a side effect. | |
| // The library replaces the Reflect API on the window to support more features. | |
| import "reflect-metadata"; | |
| import App from "@graphite/App.svelte"; | |
| document.body.setAttribute("data-app-container", ""); | |
| export default new App({ target: document.body }); | |