Open couellet opened 6 years ago
Here's our tsconfig.json file:
tsconfig.json
{ "compilerOptions": { "sourceMap": true, "baseUrl": ".", "declaration": true, "paths": { "@/*": [ "src/*" ] }, "strictNullChecks": true } }
When I generate the bundle, the imports like this one are not working as expected:
import { initSDK } from '@/core';
Looks like dts-bundle doesn't parse our tsconfig.json file. Is there a way to do that?
Having the same issue.
You can use a transformer first. Basically, you use ts-transformer-imports to convert your imports into relative path, and then you apply DTS Bundle.
Here's our
tsconfig.json
file:When I generate the bundle, the imports like this one are not working as expected:
Looks like dts-bundle doesn't parse our
tsconfig.json
file. Is there a way to do that?