chore(core): update WebComonent to v1.13.2

This commit is contained in:
Ayo 2023-11-23 22:24:33 +01:00
parent f5dfdcc0c8
commit 12c7c7d651
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"start": "npm start -w @mcflyjs/landing-page", "start": "npm start -w @mcflyjs/landing-page",
"site": "npm start -w @mcflyjs/landing-page",
"build": "npm run build -w @mcflyjs/landing-page", "build": "npm run build -w @mcflyjs/landing-page",
"build:preview": "npm run build:preview -w @mcflyjs/landing-page", "build:preview": "npm run build:preview -w @mcflyjs/landing-page",
"template:basic": "npm run dev -w @templates/basic", "template:basic": "npm run dev -w @templates/basic",

View file

@ -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.12/WebComponent.min.js";`; const baseClassImport = `import { WebComponent } from "https://unpkg.com/web-component-base@1.13.2/WebComponent.min.js";`;
registryScript += baseClassImport; registryScript += baseClassImport;
isBaseClassImported = true; isBaseClassImported = true;
} }