Skip to content

rootDir & outDir have to be explicitly set #37

@ericclemmons

Description

@ericclemmons

Without rootDir

It keeps the nesting of src under dist

+ dist
+   package.json
+   src/
+     index.js
  src/
    index.ts

With rootDir: "./src"

It generates files within ./src

  src/
+   index.js  
    index.ts
-   package.json
+   package.json

With rootDir: "./src" & outDir: "./dist"

Fixes the dist/src nesting and generates the output as expected.

+ diff
+  index.js
  src/
    index.ts
- package.json
+ package.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions