Update frontend deps; drop woff support
nearly everything supports woff2 now
This commit is contained in:
parent
e4b1d3bc21
commit
1ff07f8252
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
1474
frontend/package-lock.json
generated
1474
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -13,7 +13,7 @@
|
|||||||
"bootstrap": "^5.3.0",
|
"bootstrap": "^5.3.0",
|
||||||
"node-sass": "^9.0.0",
|
"node-sass": "^9.0.0",
|
||||||
"postcss": "^8.4.23",
|
"postcss": "^8.4.23",
|
||||||
"postcss-logical": "^7.0.0",
|
"postcss-logical": "^8.0.0",
|
||||||
"rollup": "^4.1.1",
|
"rollup": "^4.1.1",
|
||||||
"rollup-plugin-copy": "^3.4.0",
|
"rollup-plugin-copy": "^3.4.0",
|
||||||
"rollup-plugin-license": "^3.0.1",
|
"rollup-plugin-license": "^3.0.1",
|
||||||
|
|||||||
@ -52,8 +52,8 @@ Dependencies:
|
|||||||
}),
|
}),
|
||||||
copy({
|
copy({
|
||||||
targets: [
|
targets: [
|
||||||
{ src: 'node_modules/@fontsource/roboto/files/roboto-latin-400-normal.woff*', dest: '../app/static/fonts' },
|
{ src: 'node_modules/@fontsource/roboto/files/roboto-latin-400-normal.woff2', dest: '../app/static/fonts' },
|
||||||
{ src: 'node_modules/@fontsource/roboto/files/roboto-latin-700-normal.woff*', dest: '../app/static/fonts' },
|
{ src: 'node_modules/@fontsource/roboto/files/roboto-latin-700-normal.woff2', dest: '../app/static/fonts' },
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
!dev && getBabelOutputPlugin({
|
!dev && getBabelOutputPlugin({
|
||||||
|
|||||||
@ -128,8 +128,7 @@ body {
|
|||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: local('Roboto'), local('Roboto-Regular'),
|
src: local('Roboto'), local('Roboto-Regular'),
|
||||||
url('fonts/roboto-latin-400-normal.woff2') format('woff2'),
|
url('fonts/roboto-latin-400-normal.woff2') format('woff2');
|
||||||
url('fonts/roboto-latin-400-normal.woff') format('woff');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -138,6 +137,5 @@ body {
|
|||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
src: local('Roboto Bold'), local('Roboto-Bold'),
|
src: local('Roboto Bold'), local('Roboto-Bold'),
|
||||||
url('fonts/roboto-latin-700-normal.woff2') format('woff2'),
|
url('fonts/roboto-latin-700-normal.woff2') format('woff2');
|
||||||
url('fonts/roboto-latin-700-normal.woff') format('woff');
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user