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
04c91970
Unverified
Commit
04c91970
authored
Apr 29, 2020
by
Tim Neutkens
Committed by
GitHub
Apr 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable NEXT_PUBLIC_ env var support (#12283)
parent
e907e479
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
config.ts
packages/next/next-server/server/config.ts
+1
-1
next.config.js
test/integration/process-env-stub/next.config.js
+1
-5
No files found.
packages/next/next-server/server/config.ts
View file @
04c91970
...
...
@@ -51,7 +51,7 @@ const defaultConfig: { [key: string]: any } = {
workerThreads
:
false
,
basePath
:
''
,
sassOptions
:
{},
pageEnv
:
fals
e
,
pageEnv
:
tru
e
,
measureFid
:
false
,
reactRefresh
:
false
,
},
...
...
test/integration/process-env-stub/next.config.js
View file @
04c91970
module
.
exports
=
{
experimental
:
{
pageEnv
:
true
,
},
}
module
.
exports
=
{}
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