UNPKG

@benev/construct

Version:
63 lines (50 loc) 1.29 kB
<!doctype html> <html> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width,initial-scale=1"/> <meta name="darkreader" content="dark"/> <title>@benev/construct</title> <link rel="stylesheet" href="index.css?v=1874c5bb"/> <script> const params = new URLSearchParams(window.location.search) const launch_in_dev_mode = params.has("dev") ? params.get("dev") !== "false" : ( window.location.host.startsWith("localhost") || window.location.host.startsWith("192.") ) function script(attributes) { const element = document.createElement("script") element.defer = true for (const [key, value] of Object.entries(attributes)) element.setAttribute(key, value === true ?"" :value) document.head.appendChild(element) } if (launch_in_dev_mode) { document.title = "[dev] " + document.title script({ type: "importmap-shim", src: "importmap.json?v=30ea2c35", }) script({ type: "module-shim", src: "main.js?v=c52ead98", }) script({ type: "module", src: "node_modules/es-module-shims/dist/es-module-shims.wasm.js?v=f20088f9", }) } else { script({ type: "module", src: "main.bundle.min.js?v=c3674b02", }) } </script> </head> <body> <construct-editor></construct-editor> </body> </html>