Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
function denoDomDisableQuerySelectorCodeGeneration
import { denoDomDisableQuerySelectorCodeGeneration } from "https://deno.land/x/deno_dom@v0.1.35-alpha/src/api.ts";

Explicitly disable querySelector/All code generation with the Function constructor forcing the Sizzle engine. Enables those APIs on platforms like Deno Deploy that don't allow code generation.