Skip to content

Commit 788cf6e

Browse files
authored
fix: generating correct types for @rspack/lite-tapable (#13048)
fix: generating correct `.d.ts`
1 parent 9844498 commit 788cf6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/rspack/rslib.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ export default defineConfig({
197197
build: true,
198198
alias: {
199199
// alias to pre-bundled types as they are public API
200-
'@rspack/lite-tapable': './compiled/@rspack/lite-tapable/dist/index',
200+
'@rspack/lite-tapable':
201+
'./compiled/@rspack/lite-tapable/dist/index.d.ts',
201202
},
202203
},
203204
redirect: {

0 commit comments

Comments
 (0)