Skip to content

web: include CSS modules assets into the browser extension

Warren Gifford requested to merge vb/browser-extension-css-modules into main

Created by: valerybugakov

Context

The migration to CSS modules shows that some assets produced by the CSS module loader are not available in the browser extension build. This issue is similar to the one we encountered some time ago with the after-install page. It seems that inject.bundle.css should be loaded along with style.bundle.css to fix the issue.

Step to repro

  1. Pull-in this commit.
  2. Build browser extension.
  3. Install it in Chrome.
  4. Try to open HoverOverlay on Github.

It's not visible because CSS module styles are not loaded.

Changes

  • Load inject.bundle.css along with style.bundle.css.

Merge request reports

Loading