mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 07:56:05 +08: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