Skip to content

Commit 8a08239

Browse files
Do not generate d.mts
1 parent 6b6e958 commit 8a08239

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

build.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ await fs.mkdir('./dist', { recursive: true });
99

1010
await measure(`public-typings → ./dist/`, `copied in`, async () => {
1111
await fs.copyFile('./public-types/reflect.d.ts', './dist/index.d.ts');
12-
await fs.copyFile('./public-types/reflect.d.ts', './dist/index.d.mts');
1312

13+
// `@effector/reflect/scope` types - this export is deprecated
1414
await fs.copyFile('./public-types/reflect.d.ts', './dist/scope.d.ts');
15-
await fs.copyFile('./public-types/reflect.d.ts', './dist/scope.d.mts');
1615
});
1716

1817
for (const config of configs) {

0 commit comments

Comments
 (0)