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
9a09de2f
Commit
9a09de2f
authored
Oct 20, 2018
by
Vasyl Berezovyy
Committed by
Tim Neutkens
Oct 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ignore plugin from webpack build flow (#5394)
parent
4be4452f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
webpack.js
packages/next/build/webpack.js
+0
-10
No files found.
packages/next/build/webpack.js
View file @
9a09de2f
...
...
@@ -257,16 +257,6 @@ export default async function getBaseWebpackConfig (dir: string, {dev = false, i
name
:
isServer
?
'server'
:
'client'
}),
dev
&&
!
isServer
&&
new
FriendlyErrorsWebpackPlugin
(),
new
webpack
.
IgnorePlugin
(
/
(
precomputed
)
/
,
/node_modules.+
(
elliptic
)
/
),
// This removes prop-types-exact in production, as it's not used there.
!
dev
&&
new
webpack
.
IgnorePlugin
({
checkResource
:
(
resource
)
=>
{
return
/prop-types-exact/
.
test
(
resource
)
},
checkContext
:
(
context
)
=>
{
return
context
.
indexOf
(
NEXT_PROJECT_ROOT_DIST
)
!==
-
1
}
}),
// Even though require.cache is server only we have to clear assets from both compilations
// This is because the client compilation generates the build manifest that's used on the server side
dev
&&
new
NextJsRequireCacheHotReloader
(),
...
...
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