gatsby-plugin-image 2.23.0-next.0 → 2.23.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,3 @@
1
+ "client export"
1
2
  var e=require("./index.browser-70e80df3.js");require("react"),require("camelcase"),require("prop-types"),exports.GatsbyImage=e.GatsbyImage,exports.MainImage=e.MainImage,exports.Placeholder=e.Placeholder,exports.StaticImage=e.StaticImage,exports.generateImageData=e.generateImageData,exports.getImage=e.getImage,exports.getImageData=e.getImageData,exports.getLowResolutionImageURL=e.getLowResolutionImageURL,exports.getSrc=e.getSrc,exports.getSrcSet=e.getSrcSet,exports.withArtDirection=e.withArtDirection;
2
3
  //# sourceMappingURL=gatsby-image.browser.js.map
@@ -1,2 +1,3 @@
1
+ "client export"
1
2
  export{G as GatsbyImage,M as MainImage,P as Placeholder,S as StaticImage,i as generateImageData,c as getImage,f as getImageData,j as getLowResolutionImageURL,d as getSrc,e as getSrcSet,w as withArtDirection}from"./index.browser-dc34ce8e.js";import"react";import"camelcase";import"prop-types";
2
3
  //# sourceMappingURL=gatsby-image.browser.modern.js.map
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "gatsby-plugin-image",
3
- "version": "2.23.0-next.0",
3
+ "version": "2.23.0-next.1",
4
4
  "scripts": {
5
5
  "build": "npm-run-all --npm-path npm -s clean -p build:*",
6
+ "postbuild": "prepend-directive --files=dist/gatsby-image.browser.js,dist/gatsby-image.browser.modern.js --directive=\"client export\"",
6
7
  "build:gatsby-node": "tsc --jsx react --downlevelIteration true --skipLibCheck true --esModuleInterop true --outDir dist/ src/gatsby-node.ts src/babel-plugin-parse-static-images.ts src/resolver-utils.ts src/types.d.ts -d --declarationDir dist/src",
7
8
  "build:gatsby-ssr": "microbundle -i src/gatsby-ssr.tsx -f cjs -o ./[name].js --no-pkg-main --jsx React.createElement --jsxFragment React.Fragment --no-compress --external=common-tags,react --no-sourcemap",
8
9
  "build:server": "microbundle -f cjs,es --jsx React.createElement --jsxFragment React.Fragment --define SERVER=true",
@@ -59,6 +60,7 @@
59
60
  "microbundle": "^0.15.0",
60
61
  "npm-run-all": "^4.1.5",
61
62
  "postcss": "^8.2.9",
63
+ "prepend-directive": "^1.0.3",
62
64
  "semver": "^7.3.7",
63
65
  "terser": "^5.3.8",
64
66
  "typescript": "^4.7.4"
@@ -94,5 +96,5 @@
94
96
  },
95
97
  "author": "Matt Kane <matt@gatsbyjs.com>",
96
98
  "license": "MIT",
97
- "gitHead": "b08336bdd3a08e1379cfc73cfb7f6762b2c893df"
99
+ "gitHead": "232d3b6de2281caa579a619888bcb6771733f548"
98
100
  }