Skip to content

Commit 0e44675

Browse files
committed
Upgrade explorer build output
Since the next:export command is deprecated in favor of 'output: export' in next.config.js.
1 parent f08a53c commit 0e44675

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mithril-explorer/next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3+
output: "export",
34
basePath: "/explorer",
45
reactStrictMode: true,
56
swcMinify: true,

mithril-explorer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
7-
"build": "next build && next export",
7+
"build": "next build",
88
"start": "next start",
99
"lint": "next lint",
1010
"test": "jest --watch",

0 commit comments

Comments
 (0)