sofn-xyz / mailing

Build, test, send emails with React
https://www.mailing.run
MIT License
3.6k stars 74 forks source link

Copy 'Public' folder at 'mailing server build' #476

Open tobdru opened 11 months ago

tobdru commented 11 months ago

We have translations and images as static files in our project and would like to get them in our build output. As a workaround we copy them after the buildstep from ./public to .mailing/public.

Would be great to have the standard nextjs option to have a public folder wich is then bundled in generated .next folder.

As an alternative it would be great to have a short note in the documentation about how to add resources.

Hint i think this could then be added in linkEmailsDirectory function.