-
Notifications
You must be signed in to change notification settings - Fork 131
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
feat(core): add distPath.assets
and filename.assets
#3688
Conversation
✅ Deploy Preview for rsbuild ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
😂 Strictly speaking, images svgs etc are also called |
distPath.assets
and output.filename.assets
distPath.assets
and output.filename.assets
distPath.assets
and filename.assets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update the documentation, we can create another PR to add it.
Haha, all of them are assets, we have categorized the assets into subdirectories, which isn't bad. |
@@ -55,6 +57,7 @@ const prodDefaultFilename = { | |||
- `font`:表示字体文件的名称。 | |||
- `image`:表示非 SVG 图片的名称。 | |||
- `media`:表示视频等媒体资源的名称。 | |||
- `assets`:表示除了上述类型之外,其他命中 `asset/resource` 的文件名称。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: neverland <[email protected]>
Co-authored-by: neverland <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
Summary
feat(core): add
distPath.assets
andoutput.filename.assets
Related Links
close #3650
Checklist