mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-23 17:30:35 +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 configuration
|
||||||
output: {
|
output: {
|
||||||
path: outputPath,
|
path: outputPath,
|
||||||
filename: 'openmetadata.bundle.js',
|
filename: 'openmetadata.[hash].js',
|
||||||
chunkFilename: '[name].[contenthash].js',
|
chunkFilename: '[name].[hash].js',
|
||||||
publicPath: '/', // Ensures bundle is served from absolute path as opposed to relative
|
publicPath: '/', // Ensures bundle is served from absolute path as opposed to relative
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user