mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 23:47:12 +00:00
feat: now webpack filename are hashed
This commit is contained in:
parent
9bf37b391e
commit
828bd3bac6
@ -34,8 +34,8 @@ const plugins = [
|
||||
path: resolve(__dirname, './build/css'),
|
||||
// Public path of the CSS resources. This prefix is removed from the href
|
||||
publicPath: resolve(__dirname, './public/css'),
|
||||
fonts: true
|
||||
})
|
||||
fonts: true,
|
||||
}),
|
||||
];
|
||||
|
||||
if (process.env.BUNDLE_ANALYSER === 'true') {
|
||||
@ -48,6 +48,7 @@ const config = {
|
||||
output: {
|
||||
path: resolve(__dirname, './build'),
|
||||
publicPath: '/',
|
||||
filename: '[name].[contenthash].js',
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.ts', '.tsx', '.js', '.jsx'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user