mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-23 09:22:18 +00:00
Minor: add hash for filename and chunkFilename in webpack prod config (#14620)
* Minor: add hash for fileName and chunkFilename in webpack prod config * Address comment Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
This commit is contained in:
parent
3710113b8f
commit
c1d6a44cc7
@ -33,8 +33,8 @@ module.exports = {
|
||||
// Output configuration
|
||||
output: {
|
||||
path: outputPath,
|
||||
filename: 'openmetadata.bundle.js',
|
||||
chunkFilename: '[name].[contenthash].js',
|
||||
filename: 'openmetadata.[hash].js',
|
||||
chunkFilename: '[name].[hash].js',
|
||||
publicPath: '/', // Ensures bundle is served from absolute path as opposed to relative
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user