Skip to content

Commit

Permalink
Synchronize build (#2987)
Browse files Browse the repository at this point in the history
There were reports of page-load failures, which also coincide with the execution of the "js cleanup" script.

While we investigate if the script is problematic, rebuild to ensure there aren't any unintended lost chunks.
  • Loading branch information
infinite-persistence authored Oct 9, 2023
1 parent ae08334 commit 517671d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# --- Minimum Version (Format: YYYYMMDDNNN) ---
# Bump this when we want to nudge the user to refresh.
MINIMUM_VERSION=20230921001
MINIMUM_VERSION=20231009001

# This is 'false' in the production instances:
IGNORE_MINIMUM_VERSION=true
Expand Down
2 changes: 1 addition & 1 deletion web/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const webConfig = {
chunkFilename: ({ chunk }) => {
return chunk.name && chunk.name.startsWith('locale-')
? 'locales/[name]-[contenthash].js'
: '[name]-[contenthash]-xyz.js';
: '[name]-[contenthash]-1009.js';
},
assetModuleFilename: 'img/[name][ext]',
},
Expand Down
4 changes: 2 additions & 2 deletions webpack.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ let baseConfig = {
defaults: true, // load '.env.defaults' as the default values if empty.
}),
new MiniCssExtractPlugin({
filename: NODE_ENV === 'development' ? '[name].css' : '[name].[contenthash]-xyz.css',
chunkFilename: NODE_ENV === 'development' ? '[name].css' : '[name].[contenthash]-xyz.css',
filename: NODE_ENV === 'development' ? '[name].css' : '[name].[contenthash]-1009.css',
chunkFilename: NODE_ENV === 'development' ? '[name].css' : '[name].[contenthash]-1009.css',
}),
...optInPlugins,
],
Expand Down

0 comments on commit 517671d

Please sign in to comment.