Dual publish ESM and CJS with tsdown

There comes a time when you have to dual publish ESM (ECMAScript) and CJS (CommonJS) for your TypeScript projects. This guide should walk you through the steps to get this working properly with tsdown. NOTE: if you are using tsup there is a codemod provided by tsdown to migrate. tsdown setup First let’s install tsdown…

Read More

Amazon Q developer cheatsheet learnt

Few commands q help q settings q whoami Enter fullscreen mode Exit fullscreen mode Learn the Core Workflows As a professional, you’ll use Q mostly for code assistance + AWS workflows. 🔑 Core commands you should master: q generate → generate or refactor code q explain → explain existing code q test → write or…

Read More

Learn By Code 1.4 – DEV Community

Introduction In today’s blog, we’re going to explore the basic concepts behind how a Pong game works. On top of that, This tutorial will also guide you to create you own pong in Mini Micro A dead simple game engine which is perfect for beginners(Although the conceptual part of this blog can be applied to…

Read More

How to send Filament database notifications to a specific queue

When working with Filament\Notifications\Notification, sending database notifications with sendToDatabase() is super convenient. But what if you want to control which queue these notifications are dispatched to? At first glance, this looks tricky, Filament doesn’t expose a queue configuration option directly. But the good news is: you can still take full advantage of Laravel’s queue system….

Read More