cujojs / most

Ultra-high performance reactive programming
MIT License
3.49k stars 231 forks source link

Fix build by using require for new cjs deps #545

Closed briancavalier closed 3 years ago

briancavalier commented 3 years ago

Summary

Fix build by using require for new cjs deps after https://github.com/cujojs/most/pull/541

It's a bummer, but our antiquated build setup is failing because it can't handle some kinds of CommonJS / ES module interop. This is the simplest short term fix I could get working. Here's what npm run build says:

Screen Shot 2020-10-07 at 6 27 47 PM

After this change:

Screen Shot 2020-10-07 at 6 30 25 PM