Giter Site home page Giter Site logo

Comments (3)

octatone avatar octatone commented on July 28, 2024 2

I just ran into this behavior. I'll elaborate since the original issue isn't super clear.

I have a ts project that uses the baseUrl compiler option to set ./src as the base import path for my ts scripts. This means my scrips have absolute imports that that look like models/Foo which is found by tsc as ./src/models/Foo.

When I use dts-bundle all of my baseUrl imports are not bundled, instead they show up in the list of dependencies in the built index.d.ts file.

If change baseUrl style imports to relative imports, then the typings are bundled in the rendered index.d.ts output file as expected.

from dts-bundle.

justindra avatar justindra commented on July 28, 2024

Just added a PR to solve this.

from dts-bundle.

inakiarroyo avatar inakiarroyo commented on July 28, 2024

Seems like this library has been abandoned, could we have an update about the state? We are having the same problem as @octatone comment

from dts-bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.