Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
Europa-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1c93a2b6
authored
Apr 02, 2025
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
performance
parent
4d71bc5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
next.config.mjs
next.config.mjs
View file @
1c93a2b6
/** @type {import('next').NextConfig} */
/** @type {import('next').NextConfig} */
import { performance } from 'perf_hooks';
// 仅在 Node.js 环境下注入 polyfill
if (typeof global.performance === 'undefined' && typeof window === 'undefined') {
global.performance = performance;
}
const nextConfig = {
const nextConfig = {
// output: 'standalone',
// output: 'standalone',
// experimental: {
// experimental: {
...
...
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