Skip to content

Commit

Permalink
increase chunksize limit
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1te909 committed Nov 8, 2024
1 parent 26ed91c commit 85f408a
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// Configuration for your app
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js

const { mergeConfig } = require("vite");
const { configure } = require("quasar/wrappers");
const path = require("path");
require("dotenv").config();
Expand Down Expand Up @@ -78,9 +79,19 @@ module.exports = configure(function (/* ctx */) {
// polyfillModulePreload: true,
distDir: "dist/",

// extendViteConf (viteConf) {},
extendViteConf(viteConf, { isServer, isClient }) {

Check failure on line 82 in quasar.config.js

View workflow job for this annotation

GitHub Actions / lint

'isServer' is defined but never used

Check failure on line 82 in quasar.config.js

View workflow job for this annotation

GitHub Actions / lint

'isClient' is defined but never used
viteConf.build = mergeConfig(viteConf.build, {
chunkSizeWarningLimit: 1600,
rollupOptions: {
output: {
entryFileNames: `[hash].js`,

Check warning on line 87 in quasar.config.js

View workflow job for this annotation

GitHub Actions / lint

Strings must use doublequote
chunkFileNames: `[hash].js`,

Check warning on line 88 in quasar.config.js

View workflow job for this annotation

GitHub Actions / lint

Strings must use doublequote
assetFileNames: `[hash].[ext]`,

Check warning on line 89 in quasar.config.js

View workflow job for this annotation

GitHub Actions / lint

Strings must use doublequote
},
},
});
},
// viteVuePluginOptions: {},

// vitePlugins: []
},

Expand Down

0 comments on commit 85f408a

Please sign in to comment.