Customizing your @wordpress/scripts build process | WordPress Tutorial | Custom Block Development
In this video, originally streamed on June 23, 2022, we explore some ways that we can customize the @wordpress/scripts package to better integrate it with an existing project and to add our own custom scripts as part of a single build process,
00:00 Intro.
01:04 Quick look at the @wordpress/scripts package documentation.
02:06 Plugin scaffold overview.
02:46 Default scripts package setup.
03:27 Set up for having multiple blocks.
05:11 Using a custom directory name instead of src.
06:55 Customizing the output directory.
07:25 Configuring the build process to detect blocks and using custom entry points.
18:42 Using the viewScript property in to load a script on the front end only.
27:09 Using the viewScript property with a dynamic block.
Resources:
@wordpress/scripts -
@wordpress/create-block -
1 view
457
145
8 minutes ago 00:03:34 1
Nordvpn Reviews: Why It’s the Top Choice for Online Security!🏆
18 minutes ago 00:03:03 1
Nord vpn Review : Uncovering Its True Performance and Security!💎
24 minutes ago 00:04:53 1
How to Start a Dropshipping Business 2024 Top Tips for Success! 😱
1 hour ago 00:03:12 1
Test Drive Unlimited Solar Crown - Launch Trailer | PS5 Games
2 hours ago 00:02:22 1
- Children Of The Revolution - Official HD Promo Video
3 hours ago 00:02:45 1
Silicone Rubber Parts Production Line silicone dispensing machine
5 hours ago 00:00:38 1
Addison Rae Hit the 2024 VMAs Red Carpet in a Sculptural Bra, Underwear
8 hours ago 00:11:16 1
Speed Up Your Substance Painter Workflow with This Easy Trick!
8 hours ago 00:23:02 1
🎨 Texturing Women’s Shorts with Lace Trim in Substance Painter 🎨
9 hours ago 00:14:01 1
Tesla Cybertruck Cyberbeast (2025) - Interior and Exterior Feautures
9 hours ago 00:01:05 1
Dont Forget The Protein!
10 hours ago 00:03:23 1
The Green Manalishi ( Judas Priest ) Marcus Nimbler
10 hours ago 00:00:00 1
Northern Light Live Levi, Finland. North view
10 hours ago 00:00:18 1
Book match Olive Ash Dinning Table with incredible grain on Curva legs #woodwork #woodworking #diy
11 hours ago 00:01:17 2
Spray Paint Simulator Reveal Trailer
11 hours ago 00:01:59 1
Mirthwood - Official Trailer | gamescom 2024
13 hours ago 00:06:06 1
Harley-Davidson Fat Boy 114 Borussia Dortmund
13 hours ago 00:00:54 1
What Are The STRANGEST Pocket Knives In Your Collection? - 2024 Part 2
13 hours ago 00:12:31 36
Ana Cambra & José Antonio Chic play Escenas Fantásticas for two Guitars | Siccas Media
13 hours ago 07:59:11 1
COSMIC RELAXATION: 8 HOURS of 4K Deep Space NASA Footage + Chillout Music for Studying, Working, Etc
14 hours ago 00:04:17 1
2011 Lincoln Town Car #2423 Gateway Classic Cars Chicago
14 hours ago 00:20:14 1
$199 DJI NEO - FOR EVERYONE DRONE
15 hours ago 00:14:09 1
How To Be CHARISMATIC Without Trying (Gal Gadot Breakdown)
15 hours ago 00:22:19 1
CUSTOM PATTERNS FOR SMART DOLL : PART 1 // TAPE SLOPER