⚡ Added preload to scripts, sttyles and fonts. Moved font assets to static folder
This commit is contained in:
@@ -31,6 +31,13 @@ export default {
|
||||
server: {
|
||||
host: "0.0.0.0" // default: localhost
|
||||
},
|
||||
render: {
|
||||
bundleRenderer: {
|
||||
shouldPreload: (file, type) => {
|
||||
return ['script', 'style', 'font'].includes(type)
|
||||
}
|
||||
}
|
||||
},
|
||||
head: {
|
||||
title: `${meta.name} \u2022 ${meta.shortDescription}`,
|
||||
meta: [
|
||||
|
||||
Reference in New Issue
Block a user