- Added a new entry for 'testing' in tsup.config.ts to include src/testing.ts. - Updated tsconfig.json in the plugin-sdk package to include a path mapping for '@openacp/cli/testing' pointing to the generated testing type definition.
18 lines
324 B
TypeScript
18 lines
324 B
TypeScript
import { defineConfig } from 'tsup'
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
cli: 'src/cli.ts',
|
|
index: 'src/index.ts',
|
|
testing: 'src/testing.ts',
|
|
},
|
|
format: ['esm'],
|
|
target: 'node20',
|
|
platform: 'node',
|
|
splitting: false,
|
|
sourcemap: true,
|
|
dts: true,
|
|
clean: true,
|
|
outDir: 'dist-publish/dist',
|
|
})
|