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.43/deno-dom-wasm-noinit.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.