Skip to content

Commit 892a12b

Browse files
committed
downgrade nextjs runtime plugin to v4 and ignroe files from specific deployed functions
1 parent df380b9 commit 892a12b

File tree

3 files changed

+757
-25
lines changed

3 files changed

+757
-25
lines changed

netlify.toml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@
1818
package = "@netlify/plugin-nextjs"
1919

2020
[functions]
21-
included_files = [
22-
"./src/intl/**/*",
23-
"!./public/**/*",
24-
"!./node_modules/@swc/core-linux-x64-musl/**/*",
25-
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/amp-context*",
26-
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/head-manager-context*",
27-
]
21+
22+
[functions.___netlify-odb-handler]
23+
included_files = [
24+
"./src/intl/**/*",
25+
"!./public/**/*",
26+
]
27+
28+
[functions.___netlify-handler]
29+
included_files = [
30+
"./src/intl/**/*",
31+
"!./public/**/*",
32+
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"devDependencies": {
6363
"@chakra-ui/cli": "^2.4.1",
6464
"@chakra-ui/storybook-addon": "5.1.0",
65-
"@netlify/plugin-nextjs": "^5.1.2",
65+
"@netlify/plugin-nextjs": "^4.41.3",
6666
"@storybook/addon-essentials": "7.6.6",
6767
"@storybook/addon-interactions": "7.6.6",
6868
"@storybook/addon-links": "7.6.6",

0 commit comments

Comments
 (0)