Need Assistance Compiling Dgraph Lambda Server With Webpack

Solved it myself!

Simply remove: libraryTarget: 'commonjs2' so webpack (v5) uses the default and it will compile and work fine!