fix build:css after switching to postcss-prefix-selector

addendum to 074090e49
This commit is contained in:
Martin Raifer
2025-02-25 16:40:34 +01:00
parent e6272b172f
commit 211412bbdf

View File

@@ -35,7 +35,7 @@ function buildCSS() {
const css = fs.readFileSync('dist/iD.css', 'utf8');
return postcss([
autoprefixer,
prepend({ prefix: '.ideditor' })
prepend({ prefix: '.ideditor', exclude: [ /^\.ideditor(\[.*?\])*/ ] })
])
.process(css, { from: 'dist/iD.css', to: 'dist/iD.css' });
})