Esbuild snippets

esbuild setups for WordPress themes and plugins: SCSS, JavaScript bundling and fast rebuilds.

  • Esbuild setup with SCSS

    Esbuild setup with SCSS

    Files structure The project is organized with a very simple file structure. At the root, there is a build.js file which is the script that runs esbuild and compiles both the JavaScript and SCSS into production-ready code. The dist folder is where the compiled files end up — inside you’ll find main.min.js for the bundled…

// newsletter

Three tested WordPress snippets a week

Blocks, security, performance, Tailwind, PHP and React. Copy, paste, ship. You'll also get DPlugins product updates. No spam, and you can unsubscribe anytime.