Commit b6dd463d authored by Joe Haddad's avatar Joe Haddad Committed by JJ Kasper

Enable strict export presence in webpack (#7446)

parent 5fa01b15
...@@ -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 &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment