Skip to content

Public folder #3422

Description

@MartinMuzatko

I'm not sure if I correctly understand the docs.
The public folder is not supported at all?

Rewrite Limitations: Rewrites in Next.js configuration can’t point to static files in the public directory.

Shouldn't the plugin handle supporting the public folder by default?

I have to provide .next as publish directory for it to work, that means the public folder is missing.
How can I make the public folder available to netlify so that it is included in the deployed bundle?

Docs: https://docs.netlify.com/build/frameworks/framework-setup-guides/nextjs/overview/

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions