Remove blocking await on sample database (#2047)

* Remove blocking await on sample database

* Remove compress flag to reduce bundle size

* Fix typo in webpack config comment date
This commit is contained in:
sunghyunkang1111
2025-02-12 13:09:52 -06:00
committed by GitHub
parent bd592d07af
commit 99378582ce
3 changed files with 24 additions and 22 deletions

View File

@@ -248,7 +248,8 @@ module.exports = function (_env = {}, argv = {}) {
new TerserPlugin({
terserOptions: {
// These options increase our initial bundle size by ~5% but the builds are significantly faster and won't run out of memory
compress: false,
// Update 2/11/2025: we are removing this flag as our bundles sizes grew so that it can remove dead and unreachable code with compromise of build time
// compress: false,
mangle: {
keep_fnames: true,
keep_classnames: true,