Enable strict export presence in webpack (#7446)
This commit is contained in:
parent
5fa01b15c6
commit
b6dd463d93
1 changed files with 1 additions and 0 deletions
|
@ -352,6 +352,7 @@ export default async function getBaseWebpackConfig(
|
|||
},
|
||||
// @ts-ignore this is filtered
|
||||
module: {
|
||||
strictExportPresence: true,
|
||||
rules: [
|
||||
(selectivePageBuilding || config.experimental.terserLoader) &&
|
||||
!isServer &&
|
||||
|
|
Loading…
Reference in a new issue