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
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 {