Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix): declaration maps should have correct sources #221

Merged
merged 1 commit into from Oct 2, 2020

Commits on Sep 30, 2020

  1. (fix): declaration maps should have correct sources

    - previously, declarationDir was set to cwd if useTsconfigDeclarationDir
      wasn't true, however, declarations aren't output to cwd, but to
      Rollup's output destination, so this was incorrect
      - instead, don't set declarationDir, which defaults it to outDir,
        which is currently set to a placeholder
        - previously, it rewrote declarations to output to Rollup's dest
          from cwd, now rewrite from outDir placeholder instead
      - and add a rewrite of sources to match relative path from Rollup's
        output dest instead of outDir placeholder
    
    - also change the one line in the docs that says it'll be
      `process.cwd()`; every other reference says it'll be the output dest
    agilgur5 committed Sep 30, 2020
    Copy the full SHA
    ec0568b View commit details
    Browse the repository at this point in the history