Skip to content

Commit 14cbf6a

Browse files
committed
Remove unnecessary check.
1 parent a7bc9de commit 14cbf6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/integration-tests/utils/generatePage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const PACKAGE_PATH = '../../packages';
1111
const bundleKey = process.env.PW_BUNDLE;
1212

1313
// `esm` and `cjs` builds are modules that can be imported / aliased by webpack
14-
const useCompiledModule = bundleKey && (bundleKey === 'esm' || bundleKey === 'cjs');
14+
const useCompiledModule = bundleKey === 'esm' || bundleKey === 'cjs';
1515

1616
// bundles need to be injected into HTML before Sentry initialization.
1717
const useBundle = bundleKey && !useCompiledModule;

0 commit comments

Comments
 (0)