When developing a WordPress theme, it's useful to consider whether you will need a build process to help you manage your theme's assets and optimize your theme for performance. Let's look at how this might be possible, using the @wordpress/scripts package.
---
View this lesson and others in this course at Learn WordPress:
https://learn.wordpress.org/course/intermediate-theme-developer/
0:00 Introduction
0:23 What is a build process?
0:43 Why use a build process?
1:47 Prerequisites
2:36 Setting up your files and folders
3:17 Setting up your package.json file
5:17 Configuring webpack
6:18 Running the build process
7:02 Loading scripts and styles
8:22 Further reading
---
View this lesson and others in this course at Learn WordPress:
https://learn.wordpress.org/course/intermediate-theme-developer/
0:00 Introduction
0:23 What is a build process?
0:43 Why use a build process?
1:47 Prerequisites
2:36 Setting up your files and folders
3:17 Setting up your package.json file
5:17 Configuring webpack
6:18 Running the build process
7:02 Loading scripts and styles
8:22 Further reading
- Category
- WordPress
- Tags
- 2024, Learn WordPress, WordPress.tv

Be the first to comment