import type * as esbuild from 'esbuild' ; /**
 * For dependencies that forgot to add them into their package.json.
 */ export const fixImportsPlugin = { name : 'fixImportsPlugin' , setup ( build ) { build . onResolve ( { filter : /^spdx-exceptions/ } , ( ) => { return { path : require . resolve ( 'spdx-exceptions' ) } ; } ) ; build . onResolve ( { filter : /^spdx-license-ids/ } , ( ) => { return { path : require . resolve ( 'spdx-license-ids' ) } ; } ) ; } , } ;