From 103e81be411fad6342318d99fe8f1905410fc7bb Mon Sep 17 00:00:00 2001 From: Jarda Snajdr Date: Thu, 5 Dec 2024 12:53:25 +0100 Subject: [PATCH] DataViews build-wp: don't bundle the date package (#67612) Co-authored-by: jsnajdr Co-authored-by: youknowriad --- packages/dataviews/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dataviews/build.js b/packages/dataviews/build.js index e156b1cb875af0..16146632d0359e 100644 --- a/packages/dataviews/build.js +++ b/packages/dataviews/build.js @@ -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 };