mirror of
https://github.com/p-stream/p-stream.git
synced 2026-05-10 14:20:53 +00:00
fix build error
This commit is contained in:
parent
a498fdde87
commit
e93cbe4d4a
1 changed files with 25 additions and 24 deletions
|
|
@ -121,9 +121,9 @@ export default defineConfig(({ mode }) => {
|
||||||
],
|
],
|
||||||
|
|
||||||
build: {
|
build: {
|
||||||
sourcemap: true,
|
sourcemap: mode !== "production",
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {},
|
output: {
|
||||||
manualChunks(id: string) {
|
manualChunks(id: string) {
|
||||||
if (id.includes("@sozialhelden+ietf-language-tags") || id.includes("country-language")) {
|
if (id.includes("@sozialhelden+ietf-language-tags") || id.includes("country-language")) {
|
||||||
return "language-db";
|
return "language-db";
|
||||||
|
|
@ -149,6 +149,7 @@ export default defineConfig(({ mode }) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
css: {
|
css: {
|
||||||
postcss: {
|
postcss: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue