Puppeteer Browsers ESM TypeScript Config Utility
TypeScript configuration extending base settings for ESM output in Puppeteer Browsers, optimizing builds for Node.js module compatibility in n8n projects.
This utility is a specialized tsconfig.esm file from the Puppeteer Browsers package, designed to streamline TypeScript compilation specifically for ECMAScript Modules (ESM). It extends the base tsconfig.base.json from a relative path, inheriting core compiler options while overriding the output directory to '../lib/esm'. This ensures that source TypeScript files in the src directory are transpiled into modern ESM format in the lib/esm folder, facilitating seamless integration with ESM-supporting environments like modern Node.js.
The primary benefit is simplified build processes for browser automation libraries like Puppeteer, which is often used in n8n workflows for web scraping, screenshotting, or headless browsing nodes. By standardizing ESM output, it reduces bundling errors, improves tree-shaking, and enhances performance in production n8n deployments. Developers save time on manual config tweaks, avoiding common pitfalls in mixed CommonJS/ESM setups.
Ideal use cases include n8n projects leveraging Puppeteer for dynamic data extraction, PDF generation, or UI testing automations. Integrate this config into custom n8n nodes or forked packages to maintain consistent builds across development and deployment. It's particularly valuable for teams building scalable automation pipelines requiring reliable browser control, offering high reusability in utilities-focused workflows.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Secure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Utilities workflows
- Streamlined Employee Onboarding with Automated Meeting Setup$19.98
- Automate Your LinkedIn Content Creation with RAG Pipeline & Chatbot$24.99
- SEO Keyword Research Automation with Google API Integration$14.99
- Automate Google Sheets and Gmail Integration via Webhook$16.33
- Automated Breaking News Headlines with LLaMA3 and X Posting$19.99
- Automated Webinar Registration and Contact Management$13.09
More from Maxim Luong
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.