diff --git a/webpack.config.js b/webpack.config.js index 676fc300ea1..0802301f397 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -270,6 +270,9 @@ module.exports = (env, argv) => { // include node modules inside these modules, so we add 'src'. if (f.startsWith(reactSdkSrcDir)) return true; if (f.startsWith(jsSdkSrcDir)) return true; + if (f.includes("compound-web")) { + return true; + }; // but we can't run all of our dependencies through babel (many of them still // use module.exports which breaks if babel injects an 'include' for its