chore: set vite chunkSizeWarningLimit option

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/581/head
Ryan Wang 2022-06-16 11:21:02 +08:00
parent f3dadfd2cd
commit 202ba39d85
2 changed files with 5 additions and 2 deletions

View File

@ -26,6 +26,7 @@
], ],
"dependencies": { "dependencies": {
"@halo-dev/admin-api": "^1.1.0", "@halo-dev/admin-api": "^1.1.0",
"@halo-dev/components": "workspace:*",
"@vueuse/core": "^8.6.0", "@vueuse/core": "^8.6.0",
"filepond": "^4.30.4", "filepond": "^4.30.4",
"filepond-plugin-image-preview": "^4.6.11", "filepond-plugin-image-preview": "^4.6.11",
@ -35,8 +36,7 @@
"vue": "^3.2.37", "vue": "^3.2.37",
"vue-filepond": "^7.0.3", "vue-filepond": "^7.0.3",
"vue-grid-layout": "3.0.0-beta1", "vue-grid-layout": "3.0.0-beta1",
"vue-router": "^4.0.16", "vue-router": "^4.0.16"
"@halo-dev/components": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"@rushstack/eslint-patch": "^1.1.3", "@rushstack/eslint-patch": "^1.1.3",

View File

@ -26,6 +26,9 @@ export default defineConfig({
"@": fileURLToPath(new URL("./src", import.meta.url)), "@": fileURLToPath(new URL("./src", import.meta.url)),
}, },
}, },
build: {
chunkSizeWarningLimit: 2048,
},
test: { test: {
transformMode: { transformMode: {
web: [/\.[jt]sx$/], web: [/\.[jt]sx$/],