Skip to content

Commit

Permalink
Transpile @vector-im/compound-web with babel
Browse files Browse the repository at this point in the history
  • Loading branch information
Germain committed Aug 1, 2023
1 parent a0558a8 commit dbef754
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbef754

Please sign in to comment.