chore(core): update WebComonent to v1.13.2
This commit is contained in:
parent
f5dfdcc0c8
commit
12c7c7d651
2 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue