feature: handle multiple configs

This commit is contained in:
Jean-Baptiste Pasquier
2020-12-14 11:24:35 +01:00
parent 7b87f436a0
commit deb3b25520
7 changed files with 169 additions and 116 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);
return /\${.+}/.test(file) || /components/.test(file) || /\/lib\/solid-/.test(file);
}
class SkipStartinbloxWidgetAsset extends HTMLAsset {