You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I only have a api folder and don't want an empty public folder to be generated on every build. I played around with the configurations, and nothing fixed my problem, but I recognized that when setting the publicDir entry in the output configuration entry to an empty string, it deletes your whole application on nitro build. Every folder and file in your nitro application folder except .output and .nitro is deleted.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Nitro: latest
Node: 16.17.1
Reproduction
nitro.config.ts:
Describe the bug
I only have a
api
folder and don't want an emptypublic
folder to be generated on every build. I played around with the configurations, and nothing fixed my problem, but I recognized that when setting thepublicDir
entry in theoutput
configuration entry to an empty string, it deletes your whole application onnitro build
. Every folder and file in your nitro application folder except.output
and.nitro
is deleted.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: