Skip to content

Commit 0a5ddc1

Browse files
committed
include internal nextjs dynamic imports
1 parent 892a12b commit 0a5ddc1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,16 @@
2323
included_files = [
2424
"./src/intl/**/*",
2525
"!./public/**/*",
26+
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/router-context*",
27+
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/amp-context*",
28+
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/head-manager-context*",
2629
]
2730

2831
[functions.___netlify-handler]
2932
included_files = [
3033
"./src/intl/**/*",
3134
"!./public/**/*",
35+
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/router-context*",
36+
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/amp-context*",
37+
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/head-manager-context*",
3238
]

0 commit comments

Comments
 (0)