Do you mean `[define]`? That is for global variable substitution.
Do you mean
[define]? That is for global variable substitution.[define]
define accept a Record<string, string>.__dirname. I tried to set it like the following:error: Invalid define value (must be an entity name or valid JSON syntax): ./__dirname is not happy: The "path" argument must be of type string. Received an instance of Object




foo.workers.dev as the domain?
puppeteer but rather @cloudflare/puppeteer so a custom version.Browser Rendering is now available to all customers with a paid Workers plan. Each account is limited to running two new browsers per minute and two concurrent browsers at no cost during this period.
defineRecord<string, string>__dirname__dirnameerror: Invalid define value (must be an entity name or valid JSON syntax): ./The "path" argument must be of type string. Received an instance of Object[define]
__dirname = "./"[define]
__dirname = "{'foo': 'bar'}"