mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-11 04:19:02 +08:00
fix: storage of sensitive information in build artifact (#3491)
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
This commit is contained in:
parent
c54fffb51d
commit
0fa0e64697
@ -18,7 +18,9 @@ const plugins = [
|
||||
process: 'process/browser',
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': JSON.stringify(process.env),
|
||||
'process.env': JSON.stringify({
|
||||
FRONTEND_API_ENDPOINT: process.env.FRONTEND_API_ENDPOINT,
|
||||
}),
|
||||
}),
|
||||
];
|
||||
|
||||
|
@ -25,7 +25,9 @@ const plugins = [
|
||||
process: 'process/browser',
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': JSON.stringify(process.env),
|
||||
'process.env': JSON.stringify({
|
||||
FRONTEND_API_ENDPOINT: process.env.FRONTEND_API_ENDPOINT,
|
||||
}),
|
||||
}),
|
||||
new MiniCssExtractPlugin(),
|
||||
new Critters({
|
||||
|
Loading…
x
Reference in New Issue
Block a user