...(isDevelopmentBuild ? { dir: 'lib' } : { file: 'lib/index.mjs' }),
format: 'esm',
sourcemap: !!isDevelopmentBuild,
-
...(isDevelopmentBuild && {
entryFileNames: '[name].mjs',
preserveModules: true,
targets: ['lib/*']
}),
isAnalyze && analyze(),
- isDocumentation && command('npm run typedoc')
+ isDocumentation && command('pnpm run typedoc')
]
}