Closed EinfachLeo closed 2 weeks ago
Having the exact same issue. Did you figure out a solution yet?
Can you share the repro for this issue?
@EinfachLeo I'm pretty sure it was the types
field in tsconfig.json
that was causing the issue. Does your problem go away if you remove it or just set it to an empty array?
Does your problem go away if you remove it or just set it to an empty array?
@aryaemami59 is this question for @EinfachLeo ?
@timocov Yes my apologies.
@aryaemami59 Seems to go away, yes
Bug report
Hi!
When I try to run the generator, I get an error
Cannot read properties of undefined (reading 'declarations')
(it happens both locally and in the Github job)I took the time to get the proper stacktrace, but I am none the wiser.
Additional context The entire command chain I ran is
rimraf build/**/* && tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts && copyfiles ./package.json build
. The config file looks like this: