Skip to content

Commit 12ebc97

Browse files
committed
chore(webpack-config): make sure lg testing tools are not bundled with the app
1 parent 7ed4b2b commit 12ebc97

File tree

1 file changed

+4
-0
lines changed
  • configs/webpack-config-compass/src

1 file changed

+4
-0
lines changed

configs/webpack-config-compass/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ const sharedResolveOptions = (
107107
// This is an optional dependency of the AWS SDK that doesn't look like
108108
// an optional dependency to webpack because it's not wrapped in try/catch.
109109
'@aws-sdk/client-sso-oidc': false,
110+
111+
// Some lg test helpers that are getting bundled due to re-exporting from
112+
// the actual component packages, never needed in the webpack bundles
113+
'@lg-tools/test-harnesses': false,
110114
},
111115
};
112116
};

0 commit comments

Comments
 (0)