[buddypress-trac] [BuddyPress Trac] #8457: Migrate to @wordpress/scripts
buddypress-trac
noreply at wordpress.org
Tue Apr 25 03:54:02 UTC 2023
#8457: Migrate to @wordpress/scripts
------------------------------+-----------------------
Reporter: imath | Owner: imath
Type: task | Status: assigned
Priority: normal | Milestone: 12.0.0
Component: Build/Test Tools | Version: 6.0.0
Severity: normal | Resolution:
Keywords: has-patch |
------------------------------+-----------------------
Changes (by prbot):
* keywords: needs-patch => has-patch
Comment:
''This ticket was mentioned in
[https://github.com/buddypress/buddypress/pull/92 PR #92] on
[https://github.com/buddypress/buddypress/ buddypress/buddypress] by
[https://profiles.wordpress.org/imath/ @imath].''
- Remove our dependency to ParcelJS
- Add a dependency to `@wordpress/scripts`
- Reorganize BP Blocks directories: they are now located and built into
each `bp-{component-name}/blocks` directory.
- Reorganize `src/js` directory: Admin source JS are located in
`src/js/admin` and Blocks source JS are located in `src/js/blocks`
- Create a specific `webpack.config.js` file for Admin scripts and each BP
Blocks scripts.
- Upgrade each BP Block to WP Block API v2 and update all PHP registration
code.
- Update Grunt tasks
Trac ticket: https://buddypress.trac.wordpress.org/ticket/8457
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8457#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list