1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-25 16:23:19 +01:00
Whalebird-desktop-client-ma.../renderer/next.config.js
2024-07-18 22:44:03 +09:00

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
}
}