Merge pull request #2278 from feiming/conflict_dist
Change tsc output dir to dist-types
This commit is contained in:
@@ -19,5 +19,6 @@ import { paths } from '../../lib/paths';
|
||||
|
||||
export default async function clean() {
|
||||
await fs.remove(paths.resolveTarget('dist'));
|
||||
await fs.remove(paths.resolveTarget('dist-types'));
|
||||
await fs.remove(paths.resolveTarget('coverage'));
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ export const makeConfigs = async (
|
||||
options: BuildOptions,
|
||||
): Promise<RollupOptions[]> => {
|
||||
const typesInput = paths.resolveTargetRoot(
|
||||
'dist',
|
||||
'dist-types',
|
||||
relativePath(paths.targetRoot, paths.targetDir),
|
||||
'src/index.d.ts',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user