Skip to content

Commit

Permalink
feat : typepath 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
SeieunYoo committed Jun 1, 2024
1 parent d26719b commit b18a48f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/scripts/generateBuildConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ const generateExports = (files: string[]) => {
for (const file of files) {
const filePath = `./${file}`;
const distPath = `./dist/${file}`;
const typePath = `./dist/components/${file}`;

exportsObj[filePath] = {
types: `${distPath}/index.d.ts`,
types: `${typePath}/index.d.ts`,
require: `${distPath}.cjs`,
import: `${distPath}.js`,
};
Expand Down

0 comments on commit b18a48f

Please sign in to comment.