We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 445def8 commit 3e2e029Copy full SHA for 3e2e029
apps/site/next.config.mjs
@@ -1,5 +1,4 @@
1
'use strict';
2
-import { getDeploymentId } from '@opennextjs/cloudflare';
3
import createNextIntlPlugin from 'next-intl/plugin';
4
5
import { BASE_PATH, ENABLE_STATIC_EXPORT } from './next.constants.mjs';
@@ -104,7 +103,7 @@ const nextConfig = {
104
103
// process, onces it does that remove the manual `OPEN_NEXT_CLOUDFLARE`
105
// definition in the package.json script.
106
deploymentId: process.env.OPEN_NEXT_CLOUDFLARE
107
- ? getDeploymentId()
+ ? (await import('@opennextjs/cloudflare')).getDeploymentId()
108
: undefined,
109
};
110
0 commit comments