diff --git a/next.config.js b/next.config.js index cc99621..8be8ca1 100644 --- a/next.config.js +++ b/next.config.js @@ -3,6 +3,7 @@ **/ const nextConfig = { + output: 'export', images: { unoptimized: true, }, diff --git a/package.json b/package.json index 624a148..119515c 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "clean": "rimraf dist renderer/.next renderer/out", "start": "tsc && electron .", "dev": "tsc && electron .", - "build": "tsc && next build renderer && next export renderer", + "build": "tsc && next build renderer", "tsc": "tsc", "pack-app": "tsc && npm run build && electron-builder --dir", "dist": "tsc && npm run build && cross-env DEBUG=* electron-builder",