UNPKG

gatsby-plugin-image

Version:

Adding responsive images to your site while maintaining high performance scores can be difficult to do manually. The Gatsby Image plugin handles the hard parts of producing images in multiple sizes and formats for you!

1 lines 4.01 kB
{"version":3,"file":"image-utils.d.ts","sourceRoot":"","sources":["../../src/image-utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAG/C,eAAO,MAAM,mBAAmB,UAA0B,CAAA;AAC1D,eAAO,MAAM,gBAAgB,UAE5B,CAAA;AAKD,MAAM,MAAM,GAAG,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAA;AAErE,MAAM,MAAM,MAAM,GAAG,OAAO,GAAG,WAAW,GAAG,aAAa,CAAA;AAC1D,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,EAAE,CAAA;AAEvE;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAA;IAC5B,WAAW,CAAC,EAAE,WAAW,GAAG,eAAe,GAAG,SAAS,GAAG,MAAM,CAAA;IAChE,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE;QACjB,GAAG,CAAC,EAAE,GAAG,CAAA;QACT,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;QAC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