Temp patch to fix Rollup build (#15631)

pull/15636/head
Paulus Schoutsen 2023-02-28 04:54:27 -05:00 committed by GitHub
parent 17e6e132d1
commit 6af57fa2cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -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,