Skip to content

Commit

Permalink
Preload symbols, plugin v0.4 (#1988)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail authored Dec 31, 2024
1 parent b2d27a6 commit fb4ce8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@types/react-syntax-highlighter": "^15.5.7",
"@vitejs/plugin-react-swc": "^3.7.2",
"vite": "^6.0.3",
"vite-plugin-material-symbols": "^0.3.0"
"vite-plugin-material-symbols": "^0.4.0"
},
"dependencies": {
"@emotion/react": "^11.14.0",
Expand Down
2 changes: 1 addition & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import materialSymbols from "vite-plugin-material-symbols";

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), materialSymbols()],
plugins: [react(), materialSymbols({ preload: true })],
});
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5208,10 +5208,10 @@ [email protected]:
pathe "^1.1.2"
vite "^5.0.0"

vite-plugin-material-symbols@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/vite-plugin-material-symbols/-/vite-plugin-material-symbols-0.3.0.tgz#4f301f1835439d214cb96c1eabc1b48e633a2b75"
integrity sha512-llSRwn1G4H6gza2dMWtTPUbwjODIE5S20UXirr292qXjqathCQqC2rYs07nsC3RHp6aKphdLDrg2INT4sUICQw==
vite-plugin-material-symbols@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/vite-plugin-material-symbols/-/vite-plugin-material-symbols-0.4.0.tgz#c899bca49622d7eb162937c60a76e3595309145d"
integrity sha512-DYHqgRw5Plw1BQfHi1jeK6m9TvBrLMLW7fMrcbp5SuCRvIMrPE4cyIcvW6NgZu9bP9A912qQv1hdNPS6OJHVJA==
dependencies:
esquery "^1.6.0"

Expand Down

0 comments on commit fb4ce8d

Please sign in to comment.