Skip to content

Using TS Paths as aliases #336

@jlkiri

Description

@jlkiri

Current Behavior

I have an src folder which has index.ts in it and two subfolders plugins and utils, each with more TS files. index.ts imports most of these files from subfolders, but they are neither bundled nor independently compiled. Only their types are correctly output, however.

Expected behavior

  1. Output a compiled JS file for each TS file imported by index.ts so it can be imported by the compiled index.js
    OR
  2. Bundle each originally imported file inside the index.js output file

Suggested solution(s)

Currently no idea.

Additional context

Your environment

Software Version(s)
TSDX 0.11.0
TypeScript 3.7.2
Browser
npm/Yarn 6.11.3 / 1.19.1
Node 10.16.3
Operating System MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions