mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2024-12-23 15:37:59 +01:00
18 lines
414 B
JavaScript
18 lines
414 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
output: 'export',
|
|
distDir:
|
|
process.env.NODE_ENV === 'production'
|
|
? // we want to change `distDir` to "../app" so as nextron can build the app in production mode!
|
|
'../app'
|
|
: // default `distDir` value
|
|
'.next',
|
|
trailingSlash: true,
|
|
images: {
|
|
unoptimized: true
|
|
},
|
|
webpack: config => {
|
|
return config
|
|
}
|
|
}
|