clearify the usage of empty target

This commit is contained in:
Miao Wang 2024-04-10 17:31:52 +08:00
parent 545383baf0
commit 7f412ef033

View File

@ -123,6 +123,7 @@ export default defineConfig(({ mode }) => ({
resolvers: [],
}),
legacy({
//use empty array to target the oldest browsers possible
targets: [],
additionalLegacyPolyfills: [
resolve(__dirname, "_src/lib/legacy-polyfill.js"),