Skip to content

Commit

Permalink
[webpack] Fail on missing export (#4628)
Browse files Browse the repository at this point in the history
* strictExportPresence

* revert me

* Revert "revert me"

This reverts commit 4de34a2.
  • Loading branch information
thompsongl authored Mar 16, 2021
1 parent 4ccf1a8 commit e5e3944
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,11 @@ module.exports = {
loader: 'file-loader',
},
],
strictExportPresence: isProduction,
},

plugins,

optimization: {
minimizer: isProduction ? [terserPlugin] : [],
},
Expand Down

0 comments on commit e5e3944

Please sign in to comment.