reduce assetsInlineLimit

This commit is contained in:
2022-10-03 05:46:30 +01:00
parent 1b883fbd8c
commit da4c5094f0

View File

@@ -75,11 +75,19 @@ module.exports = configure(function (/* ctx */) {
// polyfillModulePreload: true,
// distDir
// Vite options
extendViteConf(viteConf, { isServer, isClient }) {
viteConf.base = '';
},
extendViteConf(viteConf, { isServer, isClient }) {
viteConf.build.assetsInlineLimit = 1024;
},
// viteVuePluginOptions: {},
// Vite plugins
// vitePlugins: [],
extendViteConf(viteConf, { isClient, isServer }) {