🎨 Update fonts (#13257)
This commit is contained in:
parent
148a27004d
commit
ed03c56762
5 changed files with 9 additions and 9 deletions
|
@ -6,7 +6,7 @@ const INITIAL_CACHED_RESOURCES = [
|
|||
"/stage/icon-large.png",
|
||||
"/stage/icon.png",
|
||||
"/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/protyle-html.js"
|
||||
];
|
||||
|
|
|
@ -76,10 +76,10 @@ module.exports = (env, argv) => {
|
|||
],
|
||||
},
|
||||
{
|
||||
test: /\.woff$/,
|
||||
test: /\.woff2$/,
|
||||
type: "asset/resource",
|
||||
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",
|
||||
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",
|
||||
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",
|
||||
generator: {
|
||||
filename: "../fonts/JetBrainsMono-Regular.woff",
|
||||
filename: "../fonts/JetBrainsMono-Regular.woff2",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue