[bug] Adjust mode in render webpack.config to variable (#1473)
This commit is contained in:
parent
0e9465601a
commit
14b9decf21
|
@ -41,7 +41,7 @@ const common = {
|
|||
};
|
||||
|
||||
const renderer = {
|
||||
mode: "production",
|
||||
mode: NODE_ENV,
|
||||
devtool: "source-map",
|
||||
target: "electron-renderer",
|
||||
node: {
|
||||
|
|
Loading…
Reference in New Issue