You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/DEVELOPER_GUIDE.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -242,7 +242,7 @@ The plugin also includes the following action hooks:
242
242
243
243
### Asset Loading
244
244
245
-
The plugin provides a utility class for loading assets. This uses `wp-scripts` to build assets which are expected to live within the `src/` directory. They will then be built into the `build/` directory, where the asset loader will look for the files, pulling in the proper dependencies and versioning.
245
+
The plugin provides a utility class for loading assets. This uses `wp-scripts` to build assets which are expected to live within the `src/` directory. They will then be built into the `build-scripts/` directory, where the asset loader will look for the files, pulling in the proper dependencies and versioning.
246
246
247
247
```php
248
248
use WordPress\AI\Asset_Loader;
@@ -252,7 +252,7 @@ use WordPress\AI\Asset_Loader;
252
252
*
253
253
* First argument is the script handle.
254
254
* The second argument is the script file name.
255
-
* This script file name should be in the build/ directory.
255
+
* This script file name should be in the build-scripts/ directory.
256
256
* The source script files should be in the src/ directory. If needed,
257
257
* you can add the entry point to the webpack.config.js file.
0 commit comments