Moment locales can end up being 135 lines of the build output -- this uses a custom logger for Vite to filter out those lines from the build output, and instead print a static summary of the moment locales. My assumption is that the moment locales won't really change, so the static summary is okay
It feels a little weird to override the Vite logger just to make this happen, so this is just a draft for now -- curious about input
If you're curious about how Vite does its logging, it looks like it uses a Rollup plugin to asses the build output and log it
Part of LIBS-635
Moment locales can end up being 135 lines of the build output -- this uses a custom logger for Vite to filter out those lines from the build output, and instead print a static summary of the moment locales. My assumption is that the moment locales won't really change, so the static summary is okay
It feels a little weird to override the Vite logger just to make this happen, so this is just a draft for now -- curious about input
If you're curious about how Vite does its logging, it looks like it uses a Rollup plugin to asses the build output and log it