Creating an esbuild Plugin to Efficiently Copy Static Files

preview_player
Показать описание
It only copies files that changed (MD5 hash comparison) and has no 3rd party dependencies.

Hit the subscribe button to receive more videos like this!

REFERENCE LINKS
---------------------------------------------------

COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.

THE TOOLS I USE / GEAR
---------------------------------------------------

FOLLOW ME ELSEWHERE
---------------------------------------------------

TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:24 -- How I prefer to organize my assets
2:13 -- What this plugin does and how it efficiently copies files
3:16 -- A quick look at a basic esbuild config
5:04 -- Configuring the plugin with a custom destination directory
6:29 -- Demonstrating live reload with Phoenix
7:23 -- Configuration options for this plugin
9:46 -- How MD5 hashes are calculated
10:25 -- Skimming the README file, how to install it, etc.
12:05 -- High level overview of creating an esbuild plugin
14:12 -- Copying new files while esbuild's watcher is running
Рекомендации по теме