fix: component prefixed with sib-

This commit is contained in:
Jean-Baptiste Pasquier 2020-12-17 13:37:27 +01:00
parent c56aaacca1
commit fae3025cc2
No known key found for this signature in database
GPG Key ID: CC04B91B949C163A
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ const HTMLAsset = require('parcel-bundler/lib/assets/HTMLAsset')
function shouldIgnore (file) {
// Ignore img(src="${...}") on pug & keep the components folder pristine
return /\${.+}/.test(file) || /components/.test(file) || /\/lib\/solid-/.test(file);
return /\${.+}/.test(file) || /components/.test(file) || /\/lib\/solid-/.test(file) || /\/lib\/sib-/.test(file);
}
class SkipStartinbloxWidgetAsset extends HTMLAsset {

View File

@ -14,7 +14,7 @@ html(lang="en")
link(rel="icon" type="image/webp" href="./images/favicon.webp")
link(rel="preconnect" href="https://fonts.gstatic.com")
link(rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap")
link(rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap")
link(rel='stylesheet', href='/styles/index.scss')