Skip to content

Commit fb0c55b

Browse files
authored
Merge branch 'main' into ep/warn-if-build-missing
2 parents 5655f3f + b36b011 commit fb0c55b

29 files changed

+1074
-851
lines changed

demos/custom-routes/.eslintrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "next",
3+
"root": true
4+
}

demos/custom-routes/netlify.toml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[build]
2+
command = "next build"
3+
publish = ".next"
4+
ignore = "if [ $CACHED_COMMIT_REF == $COMMIT_REF ]; then (exit 1); else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../..; fi;"
5+
6+
[dev]
7+
framework = "#static"
8+
9+
[[plugins]]
10+
package = "../plugin-wrapper/"
11+
12+
[[plugins]]
13+
package = "@netlify/plugin-local-install-core"
14+
# [[context.deploy-preview.plugins]]
15+
# package = "netlify-plugin-cypress"

demos/custom-routes/next-env.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/basic-features/typescript for more information.

0 commit comments

Comments
 (0)