Commit fbbeb20
committed
fix: correct main and types paths to enable direct imports
- Fix main: 'dist/lib/index.js' → 'dist/index.js'
- Fix types: 'dist/lib/index.d.ts' → 'dist/index.d.ts'
- Now users can import directly: import { Worker } from 'nestjs-worker'
- No more need for 'nestjs-worker/dist' imports
- Matches standard NestJS library patterns like nestjs-sqs1 parent 692fa23 commit fbbeb20
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments