Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
56fec79a
authored
Aug 09, 2026
by
Archer
Committed by
GitHub
Aug 09, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(docs): include SWC ESM helpers in standalone output (#7481)
parent
56ee38ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
document/next.config.ts
+7
-0
No files found.
document/next.config.ts
View file @
56fec79a
...
@@ -5,6 +5,13 @@ const withMDX = createMDX();
...
@@ -5,6 +5,13 @@ const withMDX = createMDX();
const
config
:
NextConfig
=
{
const
config
:
NextConfig
=
{
output
:
'standalone'
,
output
:
'standalone'
,
outputFileTracingIncludes
:
{
// Node 24 resolves @swc/helpers through module-sync, but Next 15 does not trace all ESM helpers.
'*'
:
[
'./node_modules/.pnpm/@swc+helpers@*/node_modules/@swc/helpers/esm/**/*'
,
'../node_modules/.pnpm/@swc+helpers@*/node_modules/@swc/helpers/esm/**/*'
,
],
},
reactStrictMode
:
true
,
reactStrictMode
:
true
,
compress
:
true
,
compress
:
true
,
skipTrailingSlashRedirect
:
true
,
skipTrailingSlashRedirect
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment