mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
Add environment checks
This commit is contained in:
parent
312f0ed559
commit
2a630a63d7
1 changed files with 2 additions and 6 deletions
|
|
@ -54,10 +54,6 @@ module.exports = [
|
|||
}
|
||||
])
|
||||
],
|
||||
optimization: {
|
||||
minimize: true,
|
||||
minimizer: [new TerserPlugin()]
|
||||
},
|
||||
target: 'electron-main'
|
||||
},
|
||||
|
||||
|
|
@ -107,7 +103,7 @@ module.exports = [
|
|||
])
|
||||
],
|
||||
optimization: {
|
||||
minimize: true,
|
||||
minimize: isProd ? true : false,
|
||||
minimizer: [new TerserPlugin()]
|
||||
},
|
||||
target: 'electron-renderer'
|
||||
|
|
@ -146,7 +142,7 @@ module.exports = [
|
|||
})
|
||||
],
|
||||
optimization: {
|
||||
minimize: true,
|
||||
minimize: isProd ? true : false,
|
||||
minimizer: [new TerserPlugin()]
|
||||
},
|
||||
target: 'node'
|
||||
|
|
|
|||
Loading…
Reference in a new issue