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

Pass webDir to rw-vite-build for setting cwd #8735

Merged
merged 9 commits into from
Jun 28, 2023

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Jun 26, 2023

I added a comment explaining the reasoning around cwd

Also made it so that we pass the web path to the binary to make it super clear how that stuff ties together while also only actually setting process.cwd in one place

@Tobbe Tobbe added the release:chore This PR is a chore (means nothing for users) label Jun 26, 2023
@Tobbe Tobbe changed the title Remove redundant process.chdir call in rw-vite-build Pass webDir to rw-vite-build for setting cwd Jun 27, 2023
@@ -34,10 +34,12 @@
"core-js": "3.31.0",
"vite": "4.3.9",
"vite-plugin-commonjs": "0.6.2",
"vite-plugin-environment": "1.1.3"
"vite-plugin-environment": "1.1.3",
"yargs-parser": "21.1.1"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't a new dependency, we just forgot to add it earlier

@Tobbe Tobbe enabled auto-merge (squash) June 28, 2023 12:15
@Tobbe Tobbe merged commit a1f86bf into redwoodjs:main Jun 28, 2023
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Jun 28, 2023
@Tobbe Tobbe deleted the tobbe-vite-build-chdir branch June 28, 2023 12:52
@jtoar jtoar modified the milestones: next-release, v6.0.0 Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants