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
6f9c3aa8
Commit
6f9c3aa8
authored
Apr 16, 2019
by
JJ Kasper
Committed by
Tim Neutkens
Apr 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove experimental amp config (#7046)
This just removes the need for setting the experimental amp option
parent
c48340cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
config.js
packages/next-server/server/config.js
+0
-1
webpack-config.ts
packages/next/build/webpack-config.ts
+0
-3
No files found.
packages/next-server/server/config.js
View file @
6f9c3aa8
...
...
@@ -22,7 +22,6 @@ const defaultConfig = {
pagesBufferLength
:
2
},
experimental
:
{
amp
:
false
,
cpus
:
Math
.
max
(
1
,
(
Number
(
process
.
env
.
CIRCLE_NODE_TOTAL
)
||
...
...
packages/next/build/webpack-config.ts
View file @
6f9c3aa8
...
...
@@ -59,9 +59,6 @@ export default function getBaseWebpackConfig (dir: string, {dev = false, debug =
'next/router'
:
'next/dist/client/router.js'
,
'next/config'
:
'next-server/dist/lib/runtime-config.js'
,
'next/dynamic'
:
'next-server/dist/lib/dynamic.js'
,
...(
config
.
experimental
.
amp
?
{}
:
{
'next/amp'
:
'you-must-enable-experimental-amp'
,
}),
next
:
NEXT_PROJECT_ROOT
,
[
PAGES_DIR_ALIAS
]:
path
.
join
(
dir
,
'pages'
),
[
DOT_NEXT_ALIAS
]:
distDir
,
...
...
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