fix: Fix config to make esm build esm compatible (box/box-codegen#915)
#1315
+152
−124
esm build esm compatible (box/box-codegen#915)
#1315