@sanity/cli 3.61.1-manifests.21 → 3.62.0

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.
@@ -24120,12 +24120,21 @@ function __disposeResources(env) {
24120
24120
  }
24121
24121
  return next();
24122
24122
  }
24123
+ function __rewriteRelativeImportExtension(path2, preserveJsx) {
24124
+ return typeof path2 == "string" && /^\.\.?\//.test(path2) ? path2.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m, tsx, d, ext, cm) {
24125
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : d + ext + "." + cm.toLowerCase() + "js";
24126
+ }) : path2;
24127
+ }
24123
24128
  var tslib_es6 = {
24124
24129
  __extends: __extends$1,
24125
24130
  __assign,
24126
24131
  __rest,
24127
24132
  __decorate,
24128
24133
  __param,
24134
+ __esDecorate,
24135
+ __runInitializers,
24136
+ __propKey,
24137
+ __setFunctionName,
24129
24138
  __metadata,
24130
24139
  __awaiter,
24131
24140
  __generator,
@@ -24147,7 +24156,8 @@ var tslib_es6 = {
24147
24156
  __classPrivateFieldSet,
24148
24157
  __classPrivateFieldIn,
24149
24158
  __addDisposableResource,
24150
- __disposeResources
24159
+ __disposeResources,
24160
+ __rewriteRelativeImportExtension
24151
24161
  }, tslib_es6$1 = /* @__PURE__ */ Object.freeze({
24152
24162
  __proto__: null,
24153
24163
  __addDisposableResource,
@@ -24177,6 +24187,7 @@ var tslib_es6 = {
24177
24187
  __propKey,
24178
24188
  __read,
24179
24189
  __rest,
24190
+ __rewriteRelativeImportExtension,
24180
24191
  __runInitializers,
24181
24192
  __setFunctionName,
24182
24193
  __spread,