Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to disable the output dir deletion #699

Open
schirrel opened this issue Jan 24, 2025 · 0 comments
Open

Possibility to disable the output dir deletion #699

schirrel opened this issue Jan 24, 2025 · 0 comments

Comments

@schirrel
Copy link

Describe the feature

Hi guys, i have a SSG Nuxt project inside a PHP legacy project, and we are slowly migrating to Nuxt, to achieve that we have our output folder as the PHP, so the pages build get in the PHP level and we do not need to work around the routing, replaciong files and stuff.

But the nuxi generate uses the build command which calls clearBuildDir function which remove the whole outpur/dist, there is a way to overwrite the prepare behavior? There is away to bypass that?

Maybe adding a new config property to add more items to the exclude array? Or maybe a way to override the recursive and force options?

Thanks

I am willing to help implement this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant