✨ Add output:export to Next.js config and remove next export
This commit is contained in:
Родитель
88938b57e8
Коммит
d3c9e7d60e
|
@ -1,6 +1,7 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
|
||||
const nextConfig = {
|
||||
output: 'export',
|
||||
reactStrictMode: true,
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "NODE_ENV=production next build && next export",
|
||||
"build": "NODE_ENV=production next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"test": "jest"
|
||||
|
|
Загрузка…
Ссылка в новой задаче