Skip to content

v1.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Sep 04:00
· 24 commits to main since this release
100a986

Minor Changes

  • 7c93190: Add support for static media queries to ultrahtml/transformers/inline.

    You may now pass an env value to the transformer, for example:

    import { transform } from "ultrahtml";
    import inline from "ultrahtml/transformers/inline";
    
    const output = await transform(input, [
      // Acts as if the screen is 960px wide and 1280px tall
      inline({ env: { width: 960, height: 1280 } })
    ]);