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: emit assets to server dist folder correctly #1763

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

chenjiahan
Copy link
Member

Summary

When the build target is node, all assets should be emitted to the dist/server folder to avoid conflicts with client outputs.

Note that this may cause duplicated assets to be emiited in the server directory, such as images only used by the client code. I will handle this case in later PRs.

Checklist

  • Tests updated.
  • Documentation updated.

Copy link

netlify bot commented Mar 8, 2024

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 1a32b3e
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/65eab5c174179500089a922e
😎 Deploy Preview https://deploy-preview-1763--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@chenjiahan chenjiahan merged commit 5be128b into main Mar 8, 2024
10 checks passed
@chenjiahan chenjiahan deleted the server_dist_path_0308 branch March 8, 2024 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant