Merge pull request #2278 from feiming/conflict_dist

Change tsc output dir to dist-types
This commit is contained in:
Patrik Oldsberg
2020-09-06 11:23:39 +02:00
committed by GitHub
9 changed files with 9 additions and 5 deletions
+1
View File
@@ -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'));
}
+1 -1
View File
@@ -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',
);