Skip to content

Commit 3e0ff1f

Browse files
committed
Merge remote-tracking branch 'origin/main' into e2e-test-skips
2 parents e769b99 + 68a8411 commit 3e0ff1f

File tree

14 files changed

+36
-85
lines changed

14 files changed

+36
-85
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "5.13.1"
2+
".": "5.13.2"
33
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## [5.13.2](https://github.com/opennextjs/opennextjs-netlify/compare/v5.13.1...v5.13.2) (2025-09-12)
4+
5+
6+
### Bug Fixes
7+
8+
* allow dot files in function bundle ([#3118](https://github.com/opennextjs/opennextjs-netlify/issues/3118)) ([8cd51b5](https://github.com/opennextjs/opennextjs-netlify/commit/8cd51b5633fee4629d12601aac59c637dafa7c9a))
9+
* revert "fix(perf): exclude /_next/static/* from generated functions ([#3100](https://github.com/opennextjs/opennextjs-netlify/issues/3100))" ([8e14a76](https://github.com/opennextjs/opennextjs-netlify/commit/8e14a760f63fa9ef042fede7c6ab3a703ab5ac7d))
10+
311
## [5.13.1](https://github.com/opennextjs/opennextjs-netlify/compare/v5.13.0...v5.13.1) (2025-09-08)
412

513

e2e-report/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e-report/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "eslint"
1010
},
1111
"dependencies": {
12-
"@netlify/plugin-nextjs": "^5.13.1",
12+
"@netlify/plugin-nextjs": "^5.13.2",
1313
"next": "^15.5.0",
1414
"react": "^18.3.1",
1515
"react-dom": "^18.3.1"

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netlify/plugin-nextjs",
3-
"version": "5.13.1",
3+
"version": "5.13.2",
44
"description": "Run Next.js seamlessly on Netlify",
55
"main": "./dist/index.js",
66
"type": "module",

src/build/content/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ export const copyNextServerCode = async (ctx: PluginContext): Promise<void> => {
111111
],
112112
{
113113
cwd: srcDir,
114+
dot: true,
114115
extglob: true,
115116
},
116117
)

src/build/functions/server.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ const getHandlerFile = async (ctx: PluginContext): Promise<string> => {
106106

107107
const templateVariables: Record<string, string> = {
108108
'{{useRegionalBlobs}}': ctx.useRegionalBlobs.toString(),
109-
'{{excludeStaticPath}}': posixJoin(ctx.buildConfig.basePath || '', '/_next/static/*'),
110109
}
111110
// In this case it is a monorepo and we need to use a own template for it
112111
// as we have to change the process working directory

src/build/templates/handler-monorepo.tmpl.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,4 @@ export default async function (req, context) {
4949
export const config = {
5050
path: '/*',
5151
preferStatic: true,
52-
excludedPath: [
53-
// We use `preferStatic: true` so we already won't run this on *existing* static assets,
54-
// but by excluding this entire path we also avoid invoking the function just to 404.
55-
'{{excludeStaticPath}}',
56-
],
5752
}

src/build/templates/handler.tmpl.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,4 @@ export default async function handler(req, context) {
4343
export const config = {
4444
path: '/*',
4545
preferStatic: true,
46-
excludedPath: [
47-
// We use `preferStatic: true` so we already won't run this on *existing* static assets,
48-
// but by excluding this entire path we also avoid invoking the function just to 404.
49-
'{{excludeStaticPath}}',
50-
],
5146
}

0 commit comments

Comments
 (0)