Skip to content

Commit f755efd

Browse files
Update packages/wrangler/src/autoconfig/frameworks/utils/vite-config.ts
Co-authored-by: Somhairle MacLeòid <smacleod@cloudflare.com>
1 parent 68925b6 commit f755efd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/wrangler/src/autoconfig/frameworks/utils/vite-config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export function checkIfViteConfigUsesCloudflarePlugin(
4343
const pluginsProp = config.properties.find((prop) => isPluginsProp(prop));
4444
assert(pluginsProp && t.ArrayExpression.check(pluginsProp.value));
4545

46-
// Only add the Cloudflare plugin if it's not already present
4746
if (
4847
pluginsProp.value.elements.some(
4948
(el) =>

0 commit comments

Comments
 (0)