@vxrn/vite-plugin-metro 2.8.1 → 2.9.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.
@@ -1395,7 +1395,7 @@ async function transform(config, projectRoot, filename, data, options) {
1395
1395
  intermediateMaps.push(typeof oxcRes.map === "string" ? JSON.parse(oxcRes.map) : oxcRes.map);
1396
1396
  }
1397
1397
  try {
1398
- const esbuildRes = await (0, import_compiler.transformHermesAsync)(code, filename, true, options.type === "script" ? void 0 : "cjs");
1398
+ const esbuildRes = await (0, import_compiler.transformHermesAsync)(code, filename, true, options.type === "script" ? void 0 : "cjs", !options.minify);
1399
1399
  if (esbuildRes) {
1400
1400
  code = esbuildRes.code;
1401
1401
  if (esbuildRes.map) {
@@ -2317,7 +2317,7 @@ async function transform(config, projectRoot, filename, data, options) {
2317
2317
  intermediateMaps.push(typeof oxcRes.map === "string" ? JSON.parse(oxcRes.map) : oxcRes.map);
2318
2318
  }
2319
2319
  try {
2320
- var esbuildRes = await (0, import_compiler.transformHermesAsync)(code2, filename, true, options.type === "script" ? void 0 : "cjs");
2320
+ var esbuildRes = await (0, import_compiler.transformHermesAsync)(code2, filename, true, options.type === "script" ? void 0 : "cjs", !options.minify);
2321
2321
  if (esbuildRes) {
2322
2322
  code2 = esbuildRes.code;
2323
2323
  if (esbuildRes.map) {
@@ -2317,7 +2317,7 @@ async function transform(config, projectRoot, filename, data, options) {
2317
2317
  intermediateMaps.push(typeof oxcRes.map === "string" ? JSON.parse(oxcRes.map) : oxcRes.map);
2318
2318
  }
2319
2319
  try {
2320
- var esbuildRes = await (0, import_compiler.transformHermesAsync)(code2, filename, true, options.type === "script" ? void 0 : "cjs");
2320
+ var esbuildRes = await (0, import_compiler.transformHermesAsync)(code2, filename, true, options.type === "script" ? void 0 : "cjs", !options.minify);
2321
2321
  if (esbuildRes) {
2322
2322
  code2 = esbuildRes.code;
2323
2323
  if (esbuildRes.map) {