Skip to content

Commit 9e5f34c

Browse files
committed
chore: fix Rslib build
1 parent 1455f9f commit 9e5f34c

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

packages/rstack/rstack.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { define } from 'rstack';
2+
3+
define.test({
4+
source: {
5+
tsconfigPath: './test/tsconfig.json',
6+
},
7+
});

packages/rstack/test/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"allowImportingTsExtensions": true,
5-
"emitDeclarationOnly": true,
6-
"composite": true,
5+
"noEmit": true,
76
"rootDir": "..",
87
"types": ["node", "rstack/test/globals"],
98
"paths": {

packages/rstack/tsconfig.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,5 @@
1111
"module": "nodenext",
1212
"moduleResolution": "nodenext"
1313
},
14-
"references": [
15-
{
16-
"path": "./test"
17-
}
18-
],
1914
"include": ["src"]
2015
}

0 commit comments

Comments
 (0)