Skip to content

Commit

Permalink
DataViews build-wp: don't bundle the date package (#67612)
Browse files Browse the repository at this point in the history
Co-authored-by: jsnajdr <[email protected]>
Co-authored-by: youknowriad <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent 4a5b519 commit f6c0334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dataviews/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const wpExternals = {
name: 'wordpress-externals',
setup( build ) {
build.onResolve(
{ filter: /^@wordpress\/(data|hooks|i18n)(\/|$)/ },
{ filter: /^@wordpress\/(data|hooks|i18n|date)(\/|$)/ },
( args ) => {
// Don't bundle WordPress signleton packages
return { path: args.path, external: true };
Expand Down

0 comments on commit f6c0334

Please sign in to comment.