@@ -345,7 +345,6 @@ describe('Output Directory Structure', () => {
345
345
. toMatchInlineSnapshot ( `
346
346
".output/chrome-mv3/background.js
347
347
----------------------------------------
348
- var _a, _b;
349
348
import { l as logHello, i as initPlugins } from "./chunks/_virtual_wxt-plugins-OjKtWpmY.js";
350
349
function defineBackground(arg) {
351
350
if (arg == null || typeof arg === "function") return { main: arg };
@@ -357,7 +356,7 @@ describe('Output Directory Structure', () => {
357
356
logHello("background");
358
357
}
359
358
});
360
- ((_b = (_a = globalThis.browser) == null ? void 0 : _a .runtime) == null ? void 0 : _b .id) ? globalThis.browser : globalThis.chrome;
359
+ globalThis.browser? .runtime? .id ? globalThis.browser : globalThis.chrome;
361
360
function print(method, ...args) {
362
361
return;
363
362
}
@@ -423,9 +422,8 @@ describe('Output Directory Structure', () => {
423
422
. toMatchInlineSnapshot ( `
424
423
".output/chrome-mv3/background.js
425
424
----------------------------------------
426
- var background = function() {
425
+ var background = ( function() {
427
426
"use strict";
428
- var _a, _b;
429
427
function defineBackground(arg) {
430
428
if (arg == null || typeof arg === "function") return { main: arg };
431
429
return arg;
@@ -440,7 +438,7 @@ describe('Output Directory Structure', () => {
440
438
});
441
439
function initPlugins() {
442
440
}
443
- ((_b = (_a = globalThis.browser) == null ? void 0 : _a .runtime) == null ? void 0 : _b .id) ? globalThis.browser : globalThis.chrome;
441
+ globalThis.browser? .runtime? .id ? globalThis.browser : globalThis.chrome;
444
442
function print(method, ...args) {
445
443
return;
446
444
}
@@ -465,7 +463,7 @@ describe('Output Directory Structure', () => {
465
463
}
466
464
const result$1 = result;
467
465
return result$1;
468
- }();
466
+ }) ();
469
467
"
470
468
` ) ;
471
469
} ) ;
0 commit comments