Skip to content

Commit

Permalink
Update WP bundled package to add @wordpress/fields (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
irshadahmad21 authored Nov 24, 2024
1 parent 20c3b45 commit f1aaaf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/vite-wp-react/src/utils/wp-packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,15 @@ export const PACKAGE_HANDLES: Record<string, string> = {
* WordPress packages that are bundled.
*
* This list comes from Gutenberg
* @see https://github.com/WordPress/gutenberg/blob/313246a01f18e504dabd8313e7eacca728332bcd/packages/dependency-extraction-webpack-plugin/lib/util.js#L6
* @see https://github.com/WordPress/gutenberg/blob/trunk/packages/dependency-extraction-webpack-plugin/lib/util.js#L6
*/
export const BUNDLED_WP_PACKAGES = [
'@wordpress/dataviews',
'@wordpress/icons',
'@wordpress/interface',
'@wordpress/sync',
'@wordpress/undo-manager',
'@wordpress/fields',
];

export const WP_EXTERNAL_PACKAGES: Record<string, string> = {
Expand Down

0 comments on commit f1aaaf7

Please sign in to comment.