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
569
178
2 weeks ago 00:10:13 1
✅Stop Using Outdated Sewing Methods! This Unique Technique Will Make You a Sewing Master
3 weeks ago 00:12:05 1
ZenBusiness Review 2024: What Makes It Stand Out?
3 weeks ago 00:08:10 1
AI Agents Will Create MILLIONAIRES in 2025 – Are You Ready
4 weeks ago 00:23:23 1
Create CONSISTENT CHARACTERS from an INPUT IMAGE with FLUX! (ComfyUI Tutorial + Installation Guide)
1 month ago 00:00:54 1
Elon Musk takes son Lil X to meet Tayyip Erdogan
1 month ago 00:20:02 1
NEW Thermaltake TH360 V2 Ultra ARGB Sync AIO CPU Water Cooler With IPS LCD Screen
1 month ago 00:04:19 1
The Fox | Historical Documentary Constructor
1 month ago 01:00:07 1
Shreeman Narayan Bhjan - श्रीमन् नारायण नारायण हरे हरेNONSTOP-2024
1 month ago 00:22:16 1
This Mod really Brings Warcraft 3 to StarCraft 2? Modded SC2 Tournament Cast!
1 month ago 00:10:50 1
Best LLC Services of 2024: Watch Before You Buy!
2 months ago 00:06:35 1
ASMR I Spiderman Gives His Iconic Legs a Well-Deserved Scratch for YOU 🕷️✨
2 months ago 00:03:44 1
1933 Ford 3 Window Coupe #447 TUL Gateway Classic Cars of Tulsa
2 months ago 00:32:18 1
FULL VISIT: Trump Goes To McDonald’s In Pennsylvania—Works Fries, Serves Customers, Takes Questions
2 months ago 00:01:18 1
Metal Gear Solid Snake Eater In a Nutshell
2 months ago 00:09:58 1
👉Jobs Hiring Immediately (Earn Up To $8,333 per month)
2 months ago 00:01:34 1
1939 Lincoln Zephyr -Stock 137777
2 months ago 00:04:55 2
Harley Benton - CLA-15MCE NS - Auditorium time!
2 months ago 00:17:50 1
A Contender for Best Case of 2024? Antec Flux Pro
2 months ago 00:04:16 1
Soul Land ( Donghua ) Opening Song 1 ( The Land of Warriors (勇士之地) - Jam Hsiao )
2 months ago 00:01:46 1
FSN HAIR Factory’s Custom Processing Service #shorts
2 months ago 00:01:17 1
Outbound - Exclusive Reveal Trailer
2 months ago 00:05:13 1
Hostinger Hosting Discount 2024 - 91% Coupon Code For Hostinger
2 months ago 00:03:06 1
How to Find the Best Dropshipping Suppliers and Avoid Scams 🤡
2 months ago 00:02:25 1
1965 Shelby Cobra #444 TUL Gateway Classic Cars of Tulsa