Skip to content

Commit

Permalink
build: remove import of blueprint-icons.css (#104)
Browse files Browse the repository at this point in the history
Cf. palantir/blueprint#6401 This import is not
useful if not using the icon fonts, while adding significant size to the
bundle.
  • Loading branch information
pvcnt authored Aug 31, 2024
1 parent c189350 commit 6125170
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions apps/webapp/src/main.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@import "normalize.css/normalize.css";
@import "@blueprintjs/core/lib/css/blueprint.css";
@import "@blueprintjs/select/lib/css/blueprint-select.css";
@import "@blueprintjs/core/lib/scss/variables";

*:focus {
Expand Down
5 changes: 0 additions & 5 deletions apps/webapp/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ import ErrorPage from "./error-page.tsx";
import Dashboard from "./routes/dashboard.tsx";
import Settings from "./routes/settings.tsx";
import Stars from "./routes/stars.tsx";

import "normalize.css/normalize.css";
import "@blueprintjs/icons/lib/css/blueprint-icons.css";
import "@blueprintjs/core/lib/css/blueprint.css";
import "@blueprintjs/select/lib/css/blueprint-select.css";
import "./main.scss";

const router = createBrowserRouter([
Expand Down

0 comments on commit 6125170

Please sign in to comment.