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
c3b18fde
Commit
c3b18fde
authored
Aug 21, 2019
by
Ran Yitzhaki
Committed by
Joe Haddad
Aug 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a broken link in webpack config (#8456)
* Fix a broken link in webpack config * Update test
parent
878a92f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
webpack-config.ts
packages/next/build/webpack-config.ts
+1
-1
index.test.js
test/integration/config-promise-error/test/index.test.js
+1
-1
No files found.
packages/next/build/webpack-config.ts
View file @
c3b18fde
...
...
@@ -643,7 +643,7 @@ export default async function getBaseWebpackConfig(
// @ts-ignore: Property 'then' does not exist on type 'Configuration'
if
(
typeof
webpackConfig
.
then
===
'function'
)
{
console
.
warn
(
'> Promise returned in next config. https://err.sh/zeit/next.js/promise-in-next-config
.md
'
'> Promise returned in next config. https://err.sh/zeit/next.js/promise-in-next-config'
)
}
}
...
...
test/integration/config-promise-error/test/index.test.js
View file @
c3b18fde
...
...
@@ -46,7 +46,7 @@ describe('Promise in next config', () => {
)
expect
(
stderr
).
toMatch
(
/> Promise returned in next config
\.
https:
\/\/
err
\.
sh
\/
zeit
\/
next
\.
js
\/
promise-in-next-config
\.
md
/
/> Promise returned in next config
\.
https:
\/\/
err
\.
sh
\/
zeit
\/
next
\.
js
\/
promise-in-next-config/
)
})
})
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