@sanity/pkg-utils 6.0.0 → 6.0.2
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.
|
@@ -19784,10 +19784,6 @@ function resolveRollupConfig(ctx, buildTask) {
|
|
|
19784
19784
|
preferBuiltins: !0
|
|
19785
19785
|
}),
|
|
19786
19786
|
commonjs__default.default(),
|
|
19787
|
-
enableOptimizeLodash && rollupPlugin.optimizeLodashImports({
|
|
19788
|
-
useLodashEs: format === "esm" && hasDependency(pkg, "lodash-es") ? !0 : void 0,
|
|
19789
|
-
...typeof config?.rollup?.optimizeLodash == "boolean" ? {} : config?.rollup?.optimizeLodash
|
|
19790
|
-
}),
|
|
19791
19787
|
json__default.default(),
|
|
19792
19788
|
esbuild__default.default({
|
|
19793
19789
|
jsx: config?.jsx ?? "automatic",
|
|
@@ -19806,6 +19802,10 @@ function resolveRollupConfig(ctx, buildTask) {
|
|
|
19806
19802
|
babelrc: !1,
|
|
19807
19803
|
plugins: config.babel.plugins
|
|
19808
19804
|
}),
|
|
19805
|
+
enableOptimizeLodash && rollupPlugin.optimizeLodashImports({
|
|
19806
|
+
useLodashEs: format === "esm" && hasDependency(pkg, "lodash-es") ? !0 : void 0,
|
|
19807
|
+
...typeof config?.rollup?.optimizeLodash == "boolean" ? {} : config?.rollup?.optimizeLodash
|
|
19808
|
+
}),
|
|
19809
19809
|
minify && terser__default.default({
|
|
19810
19810
|
compress: { directives: !1 },
|
|
19811
19811
|
output: {
|