Skip to content

Commit ac3573b

Browse files
committed
Revert "refactor: next export is deprecated"
This reverts commit 512f857.
1 parent 3069a3a commit ac3573b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

showcases/patternhub/next.config.js

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

2525
const config = {
26-
output: 'export',
2726
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
2827
transpilePackages: ['@db-ui'],
2928
...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",
8+
"build:app": "next build && next export",
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)