Releases: modernweb-dev/rocket
Releases · modernweb-dev/rocket
@rocket/[email protected]
Patch Changes
- 60e85a1: Support
picture
tags by handlingsource
tags withsrcset
attributes in the rollup asset gathering build phase.
[email protected]
Patch Changes
- 56fdb0c: Optional parameters are now also define as optional in types
@rocket/[email protected]
Patch Changes
- c338696: Updated dependency of eleventy-img for M1 compatibility
@mdjs/[email protected]
Patch Changes
-
ce9b12e: Support importing via es module
import { mdjsProcess } = from '@mdjs/core';
@rocket/[email protected]
Minor Changes
- 8bba4a8: Configure responsive image sizes to align with the launch preset breakpoints.
The set value issizes: '(min-width: 1024px) 820px, calc(100vw - 40px)'
.
@rocket/[email protected]
Minor Changes
-
8bba4a8: Every content image in markdown will outputted in multiple widths and formats to ensure small image file sizes while retaining quality.
You can adjust the defaults by settingimagePresets.responsive
.export default { imagePresets: { responsive: { widths: [600, 900, 1640], formats: ['avif', 'jpeg'], sizes: '(min-width: 1024px) 820px, calc(100vw - 40px)', }, }, };
@rocket/[email protected]
Minor Changes
-
2724f07: The service worker no longer precaches all urls and assets. It now
- caches already visited pages
- caches assets of visited pages (up to 100 files then it replaces older entries)
- on service worker activation it will reload the page if a newer version is available
Patch Changes
- Updated dependencies [2724f07]
- @rocket/[email protected]
@rocket/[email protected]
Minor Changes
- 2724f07: Stop auto generating a service worker from a template. Setup your own and then bundle via
createServiceWorkerConfig
.
@rocket/[email protected]
Patch Changes
- 2b7f1ee: Add support for pathprefix
@rocket/[email protected]
Patch Changes
- 81edf45: Reduce the amount of js files in the build by avoiding inline script tags