1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-23 23:21:05 +01:00

[FIX] Fix build error (#837)

As per

https://nextjs.org/docs/pages/building-your-application/deploying/static-exports
This commit is contained in:
NayamAmarshe 2024-05-19 21:28:59 +05:30 committed by GitHub
commit 16e572d7cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
**/ **/
const nextConfig = { const nextConfig = {
output: 'export',
images: { images: {
unoptimized: true, unoptimized: true,
}, },

View File

@ -39,7 +39,7 @@
"clean": "rimraf dist renderer/.next renderer/out", "clean": "rimraf dist renderer/.next renderer/out",
"start": "tsc && electron .", "start": "tsc && electron .",
"dev": "tsc && electron .", "dev": "tsc && electron .",
"build": "tsc && next build renderer && next export renderer", "build": "tsc && next build renderer",
"tsc": "tsc", "tsc": "tsc",
"pack-app": "tsc && npm run build && electron-builder --dir", "pack-app": "tsc && npm run build && electron-builder --dir",
"dist": "tsc && npm run build && cross-env DEBUG=* electron-builder", "dist": "tsc && npm run build && cross-env DEBUG=* electron-builder",