mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 21:19:47 +08:00
🎨 Update fonts (#13257)
This commit is contained in:
parent
148a27004d
commit
ed03c56762
@ -6,7 +6,7 @@ const INITIAL_CACHED_RESOURCES = [
|
|||||||
"/stage/icon-large.png",
|
"/stage/icon-large.png",
|
||||||
"/stage/icon.png",
|
"/stage/icon.png",
|
||||||
"/stage/loading-pure.svg",
|
"/stage/loading-pure.svg",
|
||||||
"/stage/build/fonts/JetBrainsMono-Regular.woff",
|
"/stage/build/fonts/JetBrainsMono-Regular.woff2",
|
||||||
"/stage/protyle/js/lute/lute.min.js",
|
"/stage/protyle/js/lute/lute.min.js",
|
||||||
"/stage/protyle/js/protyle-html.js"
|
"/stage/protyle/js/protyle-html.js"
|
||||||
];
|
];
|
||||||
|
@ -76,10 +76,10 @@ module.exports = (env, argv) => {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.woff$/,
|
test: /\.woff2$/,
|
||||||
type: "asset/resource",
|
type: "asset/resource",
|
||||||
generator: {
|
generator: {
|
||||||
filename: "../fonts/JetBrainsMono-Regular.woff",
|
filename: "../fonts/JetBrainsMono-Regular.woff2",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -79,10 +79,10 @@ module.exports = (env, argv) => {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.woff$/,
|
test: /\.woff2$/,
|
||||||
type: "asset/resource",
|
type: "asset/resource",
|
||||||
generator: {
|
generator: {
|
||||||
filename: "../fonts/JetBrainsMono-Regular.woff",
|
filename: "../fonts/JetBrainsMono-Regular.woff2",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -72,10 +72,10 @@ module.exports = (env, argv) => {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.woff$/,
|
test: /\.woff2$/,
|
||||||
type: "asset/resource",
|
type: "asset/resource",
|
||||||
generator: {
|
generator: {
|
||||||
filename: "../fonts/JetBrainsMono-Regular.woff",
|
filename: "../fonts/JetBrainsMono-Regular.woff2",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -80,10 +80,10 @@ module.exports = (env, argv) => {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.woff$/,
|
test: /\.woff2$/,
|
||||||
type: "asset/resource",
|
type: "asset/resource",
|
||||||
generator: {
|
generator: {
|
||||||
filename: "../fonts/JetBrainsMono-Regular.woff",
|
filename: "../fonts/JetBrainsMono-Regular.woff2",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user