Enable strict export presence in webpack (#7446)

This commit is contained in:
Joe Haddad 2019-05-28 12:43:07 -07:00 committed by JJ Kasper
parent 5fa01b15c6
commit b6dd463d93

View file

@ -352,6 +352,7 @@ export default async function getBaseWebpackConfig(
},
// @ts-ignore this is filtered
module: {
strictExportPresence: true,
rules: [
(selectivePageBuilding || config.experimental.terserLoader) &&
!isServer &&