From fae3025cc21ae2c84c9734c10e7f7d8a7d185e80 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Thu, 17 Dec 2020 13:37:27 +0100 Subject: [PATCH] fix: component prefixed with sib- --- internal/assets.js | 2 +- src/index.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/assets.js b/internal/assets.js index 1097807..1c23902 100644 --- a/internal/assets.js +++ b/internal/assets.js @@ -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 { diff --git a/src/index.pug b/src/index.pug index d276dc6..9c6309d 100644 --- a/src/index.pug +++ b/src/index.pug @@ -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')