JWally / jsLPSolver

Simple OOP javaScript library to solve linear programs, and mixed integer linear programs
The Unlicense
420 stars 69 forks source link

Add browser shim for External.js. #101

Closed CXuesong closed 1 year ago

CXuesong commented 5 years ago

Fixes #96, hopefully.

DaanVandenBosch commented 3 years ago

Awesome, @JWally, do you think we can get this merged?

qspark-zz commented 3 years ago

Thank you. Confirmed; fixes the following errors in angular:

Module not found: Error: Can't resolve 'fs' in ...
Module not found: Error: Can't resolve 'child_process' in ...
raffclar commented 3 years ago

This fixes lots of issues with esbuild and webpack. For example projects that use d3-dag will encounter Critical dependency: the request of a dependency is an expression on build due to this dependency.

Hazelfire commented 1 year ago

Agreed, would love this to be merged please!