[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 = {
|
const renderer = {
|
||||||
mode: "production",
|
mode: NODE_ENV,
|
||||||
devtool: "source-map",
|
devtool: "source-map",
|
||||||
target: "electron-renderer",
|
target: "electron-renderer",
|
||||||
node: {
|
node: {
|
||||||
|
|
Loading…
Reference in New Issue