-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
docs: optimize build #20260
docs: optimize build #20260
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Tmr (in another PR) I'll remove This way we can remove |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Now it is ready @johnleider @MajesticPotatoe If you want to play with the Node Profiler:
You can compare results adding and removing |
This comment was marked as outdated.
This comment was marked as outdated.
Can probably get this down to like 300K gzip with a bit more effort Preview deployment: https://vuetify-3-9wna33g7f-vuetifyjs1.vercel.app/ |
unplugin/unplugin-vue-components#788 Will replace the patch cosmicjs/cosmic-sdk-js#36 gets rid of axios too. I think all the vuetify/one stuff has to go to one.vuetifyjs.com only, keep the login menu but management and subscribing can just be a separate page. |
This comment was marked as resolved.
This comment was marked as resolved.
c60659e
to
b068585
Compare
b039cea
to
482d0aa
Compare
New preview, 320K index: https://vuetify-3-deihws1i1-vuetifyjs1.vercel.app/ |
Description
This PR includes:
addtype: module
to the docs package.json filemoduleResolution: Bundler
in tsconfig.json file@mdi/js
and@mdi/svg
to latest version 7.4.47plugins/icons.ts
module to include missingmdiDiscord
,mdiFormatTextdirectionLToR
andmdiFormatTextdirectionRToL
svg icons fromv6
version and removesmdiCreationOutline
included in 7.4.47@mdi/svg/meta.json
plugins/icons.ts
module): now vuetify plugin will include only mdi icons used and not the full barrel5.4.0-beta.1
to allow use new sass modern api and enablecss.preprocessorMaxWorkers
: this will reduce ~4s starting dev servercomponents/docs/IconList.vue
sfc:@mdi/svg
and@mdi/js
: this change reduces ~3MB the index.js entry point, creating 2 new js assets that are loaded only onfeatures/icon-fonts
page:@mdi/svg
moved to vite pluginusing color from the autocomplete, ping me if you want loading progress with primary colorTODO: Maybe we need to use
overrides
orpnpm.overrides
in docs package.json and dedupe dependencies.From this:
to this:
Markup:
NA