packages/typespec-azure-playground-website/index.html (25 lines of code) (raw):

<!doctype html> <html lang="en"> <head> <script type="module" async src="./node_modules/es-module-shims"></script> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>TypeSpec Azure Playground</title> <script type="module" async src="./node_modules/es-module-shims"></script> <script> const useLocalLibrary = "%VITE_USE_LOCAL_LIBRARIES%" === "true"; if (!useLocalLibrary) { document.currentScript.after( Object.assign(document.createElement("script"), { type: "importmap-shim", src: "https://typespec.blob.core.windows.net/pkgs/indexes/azure/0.35.x.json", }), ); } </script> </head> <body> <div id="root"></div> <script type="module" src="/src/main.tsx"></script> </body> </html>