replace tsc dist dir to build

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