@sanity/pkg-utils 6.0.0 → 6.0.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.
package/dist/cli.cjs CHANGED
@@ -3,7 +3,7 @@ var cac = require("cac");
3
3
  function _interopDefaultCompat(e) {
4
4
  return e && typeof e == "object" && "default" in e ? e : { default: e };
5
5
  }
6
- var cac__default = /* @__PURE__ */ _interopDefaultCompat(cac), version = "6.0.0";
6
+ var cac__default = /* @__PURE__ */ _interopDefaultCompat(cac), version = "6.0.1";
7
7
  const cli = cac__default.default();
8
8
  cli.command("", "Check").alias("check").option("--strict", "Strict mode").option("--tsconfig [tsconfig]", "[string] tsconfig.json").action(async (options) => {
9
9
  const { checkAction } = await Promise.resolve().then(function() {
package/dist/index.js CHANGED
@@ -20433,10 +20433,6 @@ function resolveRollupConfig(ctx, buildTask) {
20433
20433
  preferBuiltins: !0
20434
20434
  }),
20435
20435
  commonjs(),
20436
- enableOptimizeLodash && optimizeLodashImports({
20437
- useLodashEs: format2 === "esm" && hasDependency(pkg, "lodash-es") ? !0 : void 0,
20438
- ...typeof config2?.rollup?.optimizeLodash == "boolean" ? {} : config2?.rollup?.optimizeLodash
20439
- }),
20440
20436
  json(),
20441
20437
  esbuild({
20442
20438
  jsx: config2?.jsx ?? "automatic",
@@ -20455,6 +20451,10 @@ function resolveRollupConfig(ctx, buildTask) {
20455
20451
  babelrc: !1,
20456
20452
  plugins: config2.babel.plugins
20457
20453
  }),
20454
+ enableOptimizeLodash && optimizeLodashImports({
20455
+ useLodashEs: format2 === "esm" && hasDependency(pkg, "lodash-es") ? !0 : void 0,
20456
+ ...typeof config2?.rollup?.optimizeLodash == "boolean" ? {} : config2?.rollup?.optimizeLodash
20457
+ }),
20458
20458
  minify && terser({
20459
20459
  compress: { directives: !1 },
20460
20460
  output: {