Skip to content

Releases: modernweb-dev/rocket

@rocket/[email protected]

08 Jun 20:29
Compare
Choose a tag to compare

Patch Changes

  • 60e85a1: Support picture tags by handling source tags with srcset attributes in the rollup asset gathering build phase.

[email protected]

30 May 13:32
Compare
Choose a tag to compare

Patch Changes

  • 56fdb0c: Optional parameters are now also define as optional in types

@rocket/[email protected]

28 May 07:15
Compare
Choose a tag to compare

Patch Changes

  • c338696: Updated dependency of eleventy-img for M1 compatibility

@mdjs/[email protected]

28 May 07:15
Compare
Choose a tag to compare

Patch Changes

  • ce9b12e: Support importing via es module

    import { mdjsProcess } = from '@mdjs/core';

@rocket/[email protected]

17 May 19:58
Compare
Choose a tag to compare

Minor Changes

  • 8bba4a8: Configure responsive image sizes to align with the launch preset breakpoints.
    The set value is sizes: '(min-width: 1024px) 820px, calc(100vw - 40px)'.

@rocket/[email protected]

17 May 19:58
Compare
Choose a tag to compare

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 setting imagePresets.responsive.

    export default {
      imagePresets: {
        responsive: {
          widths: [600, 900, 1640],
          formats: ['avif', 'jpeg'],
          sizes: '(min-width: 1024px) 820px, calc(100vw - 40px)',
        },
      },
    };

@rocket/[email protected]

04 May 19:28
Compare
Choose a tag to compare

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

@rocket/[email protected]

04 May 19:28
Compare
Choose a tag to compare

Minor Changes

  • 2724f07: Stop auto generating a service worker from a template. Setup your own and then bundle via createServiceWorkerConfig.

@rocket/[email protected]

29 Apr 10:36
Compare
Choose a tag to compare

Patch Changes

  • 2b7f1ee: Add support for pathprefix

@rocket/[email protected]

29 Apr 06:32
Compare
Choose a tag to compare

Patch Changes

  • 81edf45: Reduce the amount of js files in the build by avoiding inline script tags