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
2612b48e
Unverified
Commit
2612b48e
authored
Sep 18, 2019
by
Joe Haddad
Committed by
GitHub
Sep 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update webpack typings (#8783)
This is in preparation of a new plugin.
parent
9b3d9f42
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
281 additions
and
54 deletions
+281
-54
compiler.ts
packages/next/build/compiler.ts
+2
-2
webpack.d.ts
packages/next/types/webpack.d.ts
+279
-52
No files found.
packages/next/build/compiler.ts
View file @
2612b48e
...
@@ -12,11 +12,11 @@ function generateStats(result: CompilerResult, stat: Stats): CompilerResult {
...
@@ -12,11 +12,11 @@ function generateStats(result: CompilerResult, stat: Stats): CompilerResult {
errors
:
true
,
errors
:
true
,
})
})
if
(
errors
.
length
>
0
)
{
if
(
errors
.
length
>
0
)
{
result
.
errors
.
push
(...
errors
)
result
.
errors
.
push
(...
(
errors
as
any
)
)
}
}
if
(
warnings
.
length
>
0
)
{
if
(
warnings
.
length
>
0
)
{
result
.
warnings
.
push
(...
warnings
)
result
.
warnings
.
push
(...
(
warnings
as
any
)
)
}
}
return
result
return
result
...
...
packages/next/types/webpack.d.ts
View file @
2612b48e
This diff is collapsed.
Click to expand it.
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