rename build to dist-types

This commit is contained in:
Fabian Chong
2020-09-04 21:20:21 +08:00
parent 00cfda33b3
commit 59fb93cd00
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ export const makeConfigs = async (
options: BuildOptions,
): Promise<RollupOptions[]> => {
const typesInput = paths.resolveTargetRoot(
'build',
'dist-types',
relativePath(paths.targetRoot, paths.targetDir),
'src/index.d.ts',
);
@@ -120,7 +120,7 @@ export const makeConfigs = async (
configs.push({
input: typesInput,
output: {
file: 'build/index.d.ts',
file: 'dist-types/index.d.ts',
format: 'es',
},
plugins: [dts()],