promise-all-properties
promise-all-properties copied to clipboard
ES Modules build output instead of commonjs
When using import { promiseAllProperties } from 'promise-all-properties';
or import promiseAllProperties from 'promise-all-properties';
in an Angular v18 project, the compilation gives a reasonable warning:
Warning: ....\my-angular.service.ts depends on 'promise-all-properties'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies
It would be nice if this lib could migrate to use the ESM
output format to support tree shaking.