mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 21:07:46 +00:00
[next] replace next export with output: export in tests (#10756)
`next export` has been deprecated on the latest Next.js canary so these tests will no longer pass. This changes it to use `output: export` from `next.config.js` instead. --------- Co-authored-by: JJ Kasper <jj@jjsweb.site>
This commit is contained in:
2
.changeset/modern-walls-refuse.md
Normal file
2
.changeset/modern-walls-refuse.md
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
---
|
||||
@@ -1,4 +1,5 @@
|
||||
module.exports = {
|
||||
output: 'export',
|
||||
generateBuildId() {
|
||||
return 'testing-build-id';
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"scripts": {
|
||||
"build": "next build && next export"
|
||||
"build": "next build"
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "canary",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
module.exports = {
|
||||
output: 'export',
|
||||
generateBuildId() {
|
||||
return 'testing-build-id';
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"scripts": {
|
||||
"now-build": "next build && next export"
|
||||
"now-build": "next build"
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "canary",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
module.exports = {
|
||||
output: 'export',
|
||||
generateBuildId() {
|
||||
return 'testing-build-id';
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"scripts": {
|
||||
"vercel-build": "next build && next export"
|
||||
"vercel-build": "next build"
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "canary",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
module.exports = {
|
||||
output: 'export',
|
||||
generateBuildId() {
|
||||
return 'testing-build-id';
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"scripts": {
|
||||
"build": "next build && next export"
|
||||
"build": "next build"
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "canary",
|
||||
|
||||
Reference in New Issue
Block a user