Tweak CSS bundling to dedupe more styles (#34371)
* Tweak CSS bundling to dedupe more styles Previously all of compound-web & compound-design-tokens were duplicated amongst all the themes rather than just being in `bundle.css`. * Fix highlight.js & github-markdown-css dark/light * Fix highlight.js & github-markdown-css dark/light * Iterate
This commit is contained in:
@@ -18,9 +18,7 @@ import { parseAppUrl } from "./url_utils";
|
||||
import "./modernizr.cjs";
|
||||
import { polyfillTouchEvent } from "../@types/polyfill";
|
||||
|
||||
// Import shared components CSS
|
||||
import "@element-hq/web-shared-components/dist/element-web-shared-components.css";
|
||||
|
||||
import "../../res/css/_index.pcss";
|
||||
// Require common CSS here; this will make webpack process it into bundle.css.
|
||||
// Our own CSS (which is themed) is imported via separate webpack entry points
|
||||
// in webpack.config.js
|
||||
|
||||
Reference in New Issue
Block a user