Skip to content

Commit

Permalink
fix build:css after switching to postcss-prefix-selector
Browse files Browse the repository at this point in the history
addendum to 074090e
  • Loading branch information
tyrasd committed Feb 25, 2025
1 parent e6272b1 commit 211412b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build_css.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' });
})
Expand Down

0 comments on commit 211412b

Please sign in to comment.