summaryrefslogtreecommitdiff
path: root/packages/integrations/cloudflare/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/cloudflare/src')
-rw-r--r--packages/integrations/cloudflare/src/utils/non-server-chunk-detector.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/cloudflare/src/utils/non-server-chunk-detector.ts b/packages/integrations/cloudflare/src/utils/non-server-chunk-detector.ts
index 26061c347..4b14e7087 100644
--- a/packages/integrations/cloudflare/src/utils/non-server-chunk-detector.ts
+++ b/packages/integrations/cloudflare/src/utils/non-server-chunk-detector.ts
@@ -1,5 +1,5 @@
import type { OutputBundle } from 'rollup';
-import type { Plugin } from 'vite';
+import type { PluginOption } from 'vite';
/**
* A Vite bundle analyzer that identifies chunks that are not used for server rendering.
@@ -11,7 +11,7 @@ import type { Plugin } from 'vite';
export class NonServerChunkDetector {
private nonServerChunks?: string[];
- public getPlugin(): Plugin {
+ public getPlugin(): PluginOption {
return {
name: 'non-server-chunk-detector',
generateBundle: (_, bundle) => {