We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df59c1 commit 66cd37fCopy full SHA for 66cd37f
src/adapter/adapter.ts
@@ -14,8 +14,10 @@ const NETLIFY_FRAMEWORKS_API_CONFIG_PATH = '.netlify/v1/config.json'
14
const adapter: NextAdapter = {
15
name: 'Netlify',
16
modifyConfig(config) {
17
- // Enable Next.js standalone mode at build time
18
- config.output = 'standalone'
+ if (config.output !== 'export') {
+ // Enable Next.js standalone mode at build time
19
+ config.output = 'standalone'
20
+ }
21
22
modifyConfigForImageCDN(config)
23
0 commit comments