From 6af57fa2cd3bd8bf3ff105597efd8bbde5682214 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 28 Feb 2023 04:54:27 -0500 Subject: [PATCH] Temp patch to fix Rollup build (#15631) --- build-scripts/rollup.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build-scripts/rollup.js b/build-scripts/rollup.js index 410e396632..ed030a774a 100644 --- a/build-scripts/rollup.js +++ b/build-scripts/rollup.js @@ -43,7 +43,14 @@ const createRollupConfig = ({ preserveEntrySignatures: false, plugins: [ ignore({ - files: bundle.emptyPackages({ latestBuild }), + files: bundle + .emptyPackages({ latestBuild }) + // TEMP HACK: Makes Rollup build work again + .concat( + require.resolve( + "@webcomponents/scoped-custom-element-registry/scoped-custom-element-registry.min" + ) + ), }), resolve({ extensions,