Let webpack resolve the promise lib