- Download external libraries locally to reduce CDN dependencies - Create combined vendor bundles for JavaScript and CSS - Replace CDN script tags with local bundles in layout template - Add build scripts for vendor bundle creation and optimization - Configure esbuild to process vendor bundles separately - Total bundle size: ~512KB JS + 17KB CSS (optimized) Benefits: - Reduced external requests and CDN dependencies - Better caching control and reliability - Eliminated CORS and SRI integrity issues - Faster page loads with bundled resources 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
872 B
CSS
14 lines
872 B
CSS
.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
|
|
-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
|
|
-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
|
|
-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
|
|
transition: transform 0.3s ease-out, opacity 0.3s ease-in;
|
|
}
|
|
|
|
.leaflet-cluster-spider-leg {
|
|
/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
|
|
-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
|
|
-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
|
|
-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
|
|
transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
|
|
}
|