Skip to content

Commit

Permalink
fix: remove global vscode css rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed May 30, 2023
1 parent 051a024 commit 0516584
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rollup/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,10 @@ export default (args: Record<string, string>): rollup.RollupOptions[] => {
annotations: true,
preset: 'smallest',
moduleSideEffects (id) {
if (id.endsWith('vs/workbench/browser/media/style.css')) {
// Remove global vscode css rules
return false
}
return id.startsWith(SRC_DIR) ||
id.endsWith('.css') ||
id.startsWith(KEYBOARD_LAYOUT_DIR) ||
Expand Down

0 comments on commit 0516584

Please sign in to comment.