-
-
Notifications
You must be signed in to change notification settings - Fork 240
perf: optimize css chunks #1375
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
📝 WalkthroughWalkthroughAdds UnoCSS imports and an async icon CSS import to the app entry; converts eager vue-data-ui chart components to lazy-loaded components via defineAsyncComponent and adds side-effect style imports; introduces a new UnoCSS source transformer (transformerIconInlineBlock) that appends inline-block sizing tokens to icon classes; updates uno.config.ts to adjust presetIcons and include the transformer and content.pipeline.exclude; disables unocss autoImport in nuxt.config.ts and enables it for the Nuxt test environment in vitest.config.ts; adds Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Comment |
|
this is amazing! I do think we need to move |
#1239
This PR made the following two changes to optimize the css chunking:
Deploy Preview: https://npmxdev-git-fix-css-optimization-npmx.vercel.app/
Before:

After:
