semantic-release/test/fixtures/plugin-errors.js
Matt Travi 9eab1adb9d
feat(esm): convert to esm (#2569)
for #2543

BREAKING CHANGE: semantic-release is now ESM-only. since it is used through its own executable, the impact on consuming projects should be minimal

BREAKING CHANGE: references to plugin files in configs need to include the file extension because of executing in an ESM context
2022-11-11 09:24:06 -06:00

6 lines
134 B
JavaScript

import AggregateError from 'aggregate-error';
export default () => {
throw new AggregateError([new Error('a'), new Error('b')]);
}