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
b6dd463d
Commit
b6dd463d
authored
May 28, 2019
by
Joe Haddad
Committed by
JJ Kasper
May 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable strict export presence in webpack (#7446)
parent
5fa01b15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
webpack-config.ts
packages/next/build/webpack-config.ts
+1
-0
No files found.
packages/next/build/webpack-config.ts
View file @
b6dd463d
...
@@ -352,6 +352,7 @@ export default async function getBaseWebpackConfig(
...
@@ -352,6 +352,7 @@ export default async function getBaseWebpackConfig(
},
},
// @ts-ignore this is filtered
// @ts-ignore this is filtered
module
:
{
module
:
{
strictExportPresence
:
true
,
rules
:
[
rules
:
[
(
selectivePageBuilding
||
config
.
experimental
.
terserLoader
)
&&
(
selectivePageBuilding
||
config
.
experimental
.
terserLoader
)
&&
!
isServer
&&
!
isServer
&&
...
...
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