Skip to content

Commit 120f6c6

Browse files
add preventAssignment to replace call (to prevent terminal warning) (#8836)
1 parent 3d825da commit 120f6c6

File tree

1 file changed

+1
-0
lines changed
  • packages/vite-plugin-cloudflare/src

1 file changed

+1
-0
lines changed

packages/vite-plugin-cloudflare/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ export function cloudflare(pluginConfig: PluginConfig = {}): vite.Plugin[] {
555555
"process.env.NODE_ENV": JSON.stringify(
556556
process.env.NODE_ENV ?? "production"
557557
),
558+
preventAssignment: true,
558559
}),
559560
],
560561
},

0 commit comments

Comments
 (0)