2024-12-03

This commit is contained in:
gcch 2024-12-03 09:53:57 +01:00
commit e27f6eaf31
11 changed files with 1727 additions and 2060 deletions

View file

@ -1,3 +1,4 @@
import legacy from "@vitejs/plugin-legacy";
import { fdir } from "fdir";
import { resolve } from "node:path";
import process from "node:process";
@ -59,6 +60,12 @@ export default defineConfig(async ({ mode }) => {
include: [],
protocolImports: true,
}),
legacy({
modernPolyfills: true,
modernTargets:
"chrome >0 and last 3 years, edge >0 and last 3 years, safari >0 and last 3 years, firefox >0 and last 3 years, and_chr >0 and last 3 years, and_ff >0 and last 3 years, ios >0 and last 3 years",
renderLegacyChunks: false,
}),
],
};
});