feat(chore): use minified WebComponent class
This commit is contained in:
parent
65b8b4a3d6
commit
c329070dc1
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ async function buildRegistry(usedCustomElements, type, storage) {
|
||||||
!isBaseClassImported &&
|
!isBaseClassImported &&
|
||||||
content.toString().includes("extends WebComponent")
|
content.toString().includes("extends WebComponent")
|
||||||
) {
|
) {
|
||||||
const baseClassImport = `import { WebComponent } from "https://unpkg.com/web-component-base@1.12.4/WebComponent.js";`;
|
const baseClassImport = `import { WebComponent } from "https://unpkg.com/web-component-base@1.12.12/WebComponent.min.js";`;
|
||||||
registryScript += baseClassImport;
|
registryScript += baseClassImport;
|
||||||
isBaseClassImported = true;
|
isBaseClassImported = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue