-
Notifications
You must be signed in to change notification settings - Fork 0
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
💥 Making MDE-CSS available from CDN to reduce package-size #402
Conversation
@coderabbitai review |
WalkthroughThis pull request involves a comprehensive reorganization of asset management across multiple configuration files. The changes primarily focus on restructuring asset paths from a temporary directory to more permanent locations, specifically moving CSS stylesheets and SVG icon files from Changes
Possibly related PRs
Suggested Labels
Suggested Reviewers
Poem
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.storybook/main.ts (1)
9-9
: Consider loading these icons from a CDN as well.Given the PR's goal of reducing package size by hosting assets via CDN, you could further shrink the bundle footprint by moving these icons to a CDN in addition to the locally referenced paths.
Also applies to: 13-13
package.json (1)
26-28
: Excellent reorganization of exported asset paths.Shifting from temporary directories to more permanent locations matches the unified asset structure across the project. Consider hosting the icons and styles on a CDN as well to maximize the reduction in package size.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (3)
package-lock.json
is excluded by!**/package-lock.json
public/assets/icons/custom-icons.svg
is excluded by!**/*.svg
public/assets/icons/muc-icons.svg
is excluded by!**/*.svg
📒 Files selected for processing (7)
.releaserc.js
(0 hunks).storybook/main.ts
(1 hunks).storybook/preview-head.html
(1 hunks).storybook/preview.ts
(1 hunks)docs/GettingStarted.mdx
(2 hunks)package.json
(1 hunks)public/assets/temporary/muenchende-fontfaces.css
(0 hunks)
💤 Files with no reviewable changes (2)
- public/assets/temporary/muenchende-fontfaces.css
- .releaserc.js
✅ Files skipped from review due to trivial changes (2)
- .storybook/preview-head.html
- .storybook/preview.ts
🔇 Additional comments (3)
docs/GettingStarted.mdx (3)
42-43
: Nicely done adjusting the icon paths.Switching from the “temporary” folder to the new “icons” folder is a great improvement, ensuring consistency with the rest of the new asset structure.
47-51
: Great addition of CDN link for MDE5-CSS.Embedding the external stylesheet from
assets.muenchen.de
helps match the PR’s intent to improve performance by reducing package size.
60-60
: CSS import reorganization looks good.Pointing to the new
custom-style.css
file aligns with the updated asset structure. This keeps your documentation consistent and clean.
🎉 This PR is included in version 3.0.0-beta.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary by CodeRabbit
Chores
Documentation
Configuration