fix(build): Add default locations for new blocks.

This commit is contained in:
SamTolmay 2021-05-26 14:38:35 +02:00
parent dbe1efec53
commit 544d1e1d84
2 changed files with 7 additions and 1 deletions

View File

@ -32,6 +32,9 @@ const defaultMetaLocations = {
Html: {
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-basic/meta/Html.json`,
},
Img: {
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-basic/meta/Img.json`,
},
List: {
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-basic/meta/List.json`,
},
@ -223,6 +226,9 @@ const defaultMetaLocations = {
TitleInput: {
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-antd/meta/TitleInput.json`,
},
Tooltip: {
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-antd/meta/Tooltip.json`,
},
UserAvatar: {
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-antd/meta/UserAvatar.json`,
},

View File

@ -59,4 +59,4 @@ pages:
path: pages.yaml
# Commented out because it loops
# Use to generate new sitemap if pages are added
transformer: templates/generateSitemap.js
# transformer: templates/generateSitemap.js