From c23d7d4645c5d152c3076d67420d850ddab9ac47 Mon Sep 17 00:00:00 2001 From: Nobleman <8305511+smac89@users.noreply.github.com> Date: Sat, 2 Mar 2024 15:59:22 -0600 Subject: [PATCH 1/5] Fix bug with array iteration use for of, rather than for in --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index b68fa7a..b36657d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -153,7 +153,7 @@ const _useRecommendedBuildConfig = (config: UserConfig) => { } if (Array.isArray(config.build.rollupOptions.output)) { - for (const o in config.build.rollupOptions.output) updateOutputOptions(o as OutputOptions) + for (const o of config.build.rollupOptions.output) updateOutputOptions(o as OutputOptions) } else { updateOutputOptions(config.build.rollupOptions.output as OutputOptions) } From 5fcf63b7decae9863e1e410473a2f58fc223ce94 Mon Sep 17 00:00:00 2001 From: Richard Tallent Date: Sun, 3 Mar 2024 16:25:01 -0600 Subject: [PATCH 2/5] v2.0.1 --- CHANGELOG.md | 1 + package-lock.json | 1083 ++++++++++++++++++++++++--------------------- package.json | 16 +- 3 files changed, 599 insertions(+), 501 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1461c2..4bb6844 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,3 +57,4 @@ | | | Removed unneeded `\n` around `