This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loadDependencies = (callback) -> | |
requirements = {jq: '1.6.1', jqui: '1.8.7'} | |
getScript = (url, next) -> | |
script = document.createElement('script') | |
script.src = url | |
head = document.documentElement.childNodes[0] | |
script.onload = script.onreadystatechange = onScriptLoad script, next | |
head.appendChild script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as build from "@remix-run/dev/server-build"; | |
import { createRoutes } from "@remix-run/server-runtime/dist/routes"; | |
import { Dedupe, ExtraErrorData, Transaction } from "@sentry/integrations"; | |
import { hasTracingEnabled } from "@sentry/tracing"; | |
import { Toucan } from "toucan-js"; | |
import createEventHandler from "./createEventHandler"; | |
import instrumentBuild, { getTransactionName, startRequestHandlerTransaction } from "./instrumentBuild"; | |
interface Environment { | |
__STATIC_CONTENT: KVNamespace<string>; |