Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
cb2ba0c7
Unverified
Commit
cb2ba0c7
authored
Jun 28, 2022
by
JJ Kasper
Committed by
GitHub
Jun 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix invalid config warning for runtime config (#38122)
parent
1feaac03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
config-shared.ts
packages/next/server/config-shared.ts
+1
-0
index.test.js
test/integration/react-18/test/index.test.js
+5
-0
No files found.
packages/next/server/config-shared.ts
View file @
cb2ba0c7
...
@@ -509,6 +509,7 @@ export const defaultConfig: NextConfig = {
...
@@ -509,6 +509,7 @@ export const defaultConfig: NextConfig = {
swcMinify
:
false
,
swcMinify
:
false
,
output
:
!!
process
.
env
.
NEXT_PRIVATE_STANDALONE
?
'standalone'
:
undefined
,
output
:
!!
process
.
env
.
NEXT_PRIVATE_STANDALONE
?
'standalone'
:
undefined
,
experimental
:
{
experimental
:
{
runtime
:
undefined
,
manualClientBasePath
:
false
,
manualClientBasePath
:
false
,
// TODO: change default in next major release (current v12.1.5)
// TODO: change default in next major release (current v12.1.5)
legacyBrowsers
:
true
,
legacyBrowsers
:
true
,
...
...
test/integration/react-18/test/index.test.js
View file @
cb2ba0c7
...
@@ -61,6 +61,11 @@ function runTestsAgainstRuntime(runtime) {
...
@@ -61,6 +61,11 @@ function runTestsAgainstRuntime(runtime) {
)
)
})
})
}
}
it
(
'should not have invalid config warning'
,
async
()
=>
{
await
renderViaHTTP
(
context
.
appPort
,
'/'
)
expect
(
context
.
stderr
).
not
.
toContain
(
'not exist in this version'
)
})
},
},
{
{
beforeAll
:
(
env
)
=>
{
beforeAll
:
(
env
)
=>
{
...
...
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