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

fix(preview): correct path with custom nitro.output.dir #376

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xjccc
Copy link

@xjccc xjccc commented Mar 27, 2024

#375

delete nitro.srcDir

@pi0 pi0 changed the title fix: preview path fix(preview): correct path with custom nitro.output.dir Mar 27, 2024
@pi0
Copy link
Member

pi0 commented Mar 27, 2024

Thanks. Have to locally doublecheck but this seems a nice fix.

(for context, addition was from nuxt/nuxt#18882)

@xjccc
Copy link
Author

xjccc commented Mar 27, 2024

Thanks. Have to locally doublecheck but this seems a nice fix.

(for context, addition was from nuxt/nuxt#18882)

Thanks for quick reply. I run the cli in my local. And set config with playground, find this simple way to resolve path. I don't know is something change build by nitro?

And i also have a question, when i set ~/node-server the path can't resolve correct. But it's a special scene for this, it's need to solve?

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

Successfully merging this pull request may close these issues.

None yet

2 participants