Skip to content

Commit 8861dbf

Browse files
committed
chore: update path mapping for tdesign-miniprogram
1 parent 2910c88 commit 8861dbf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/common/config.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/// <reference path="../../typing.d.ts" />
2+
13
export default {
24
prefix: CONFIG_PREFIX,
35
};

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"esModuleInterop": true,
1515
"allowSyntheticDefaultImports": true,
1616
"paths": {
17-
"tdesign-miniprogram/*": ["miniprogram_dist/*"]
17+
"tdesign-miniprogram/*": ["src/*"]
1818
}
1919
},
2020
"include": ["src/**/*", "example/**/*", "site/**/*", "typing.d.ts", "wechat-miniprogram-extension.d.ts"]

0 commit comments

Comments
 (0)