@sanity/client 4.0.0-alpha.esm.2 → 4.0.0-alpha.esm.3
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.
- package/dist/browser/sanityClient.js +1297 -10
- package/dist/node/sanityClient.js +6123 -17
- package/package.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/client",
|
|
3
|
-
"version": "4.0.0-alpha.esm.
|
|
3
|
+
"version": "4.0.0-alpha.esm.3",
|
|
4
4
|
"description": "Client for retrieving, creating and patching data from Sanity.io",
|
|
5
5
|
"main": "lib/sanityClient.js",
|
|
6
6
|
"umd": "umd/sanityClient.min.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"browserify": "NODE_ENV=production BROWSERIFY_ENV=build DEBUG='' browserify -t envify -g uglifyify lib/sanityClient.js -o umd/sanityClient.js --standalone=SanityClient",
|
|
23
23
|
"compile": "babel -d lib src",
|
|
24
24
|
"build": "npm run compile && npm run browserify && npm run minify && npm run esbuild:browser && npm run esbuild:node",
|
|
25
|
-
"esbuild": "esbuild src/sanityClient.js --bundle --format=esm --external:@sanity/eventsource --external:@sanity/generate-help-url --external:
|
|
25
|
+
"esbuild": "esbuild src/sanityClient.js --bundle --format=esm --external:@sanity/eventsource --external:@sanity/generate-help-url --external:make-error --external:rxjs",
|
|
26
26
|
"esbuild:browser": "npm run esbuild -- --outfile=dist/browser/sanityClient.js --platform=browser",
|
|
27
27
|
"esbuild:node": "npm run esbuild -- --outfile=dist/node/sanityClient.js --platform=node",
|
|
28
28
|
"postesbuild": "package-check || true",
|