mirror of
https://github.com/dpup/meshstream.git
synced 2026-03-28 17:42:37 +01:00
esbuild's define only accepts literals/identifiers, not arrow functions. Inject the polyfill as a plain script tag before the module entry point so it is available when any pre-compiled dependency uses it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
844 B
HTML
22 lines
844 B
HTML
<!DOCTYPE html>
|
|
<html lang="en" class="dark">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="description" content="%VITE_SITE_DESCRIPTION%" />
|
|
<title>%VITE_SITE_TITLE%</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Roboto+Mono:wght@400;500&family=Share+Tech+Mono&family=Space+Mono:wght@400;700&family=VT323&display=swap"
|
|
rel="stylesheet">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div id="root"></div>
|
|
<script>window.__publicField = function(a, b, c) { a[b] = c; return c; };</script>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
|
|
</html> |