1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

chore(dev): Switch to using build constant for isDev check

This commit is contained in:
Justin Baur
2025-09-05 19:12:21 -04:00
committed by GitHub
parent 1a0d3e3ada
commit 7eb89eb45a
7 changed files with 29 additions and 14 deletions

View File

@@ -177,6 +177,9 @@ const renderer = {
filename: "[name].[contenthash].css",
chunkFilename: "[id].[contenthash].css",
}),
new webpack.DefinePlugin({
BIT_ENVIRONMENT: JSON.stringify(NODE_ENV),
}),
new webpack.EnvironmentPlugin({
ENV: ENV,
FLAGS: envConfig.flags,