Skip to content

Commit 67ea4e2

Browse files
authored
refactor: next export is deprecated (#1462)
1 parent 3ab1d44 commit 67ea4e2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

showcases/patternhub/next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const withMDX = generated({
2323
});
2424

2525
const config = {
26+
output: 'export',
2627
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
2728
transpilePackages: ['@db-ui'],
2829
...withMDX({

showcases/patternhub/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"private": true,
66
"scripts": {
77
"build": "npm-run-all generate copy build:*",
8-
"build:app": "next build && next export",
8+
"build:app": "next build",
99
"build:copy": "cpr out ../../build-showcases/patternhub -o",
1010
"copy": "npm-run-all copy:*",
1111
"copy:components": "cpr ../../output/react/src ./components/src -o",

0 commit comments

Comments
 (0)