Skip to content

how to compile with tsc for dev/server use #1

Description

@mcoulman

Using the example from your other repo (examples/lib-r-math.js/typescript) I can 'npm run build' the webpack bundle without issue.

However, 'typescript ➤ tsc ./index.ts' results in 66 errors, all TS2307, indicating modules that cannot be loaded. Indeed, the "import Something from 'some/path'" point to things that do not exist in the node_modules/lib-r-math.js/dist/src/ tree.

So, how to build with tsc if I need to use a method from lib-r-math.js? TIA for your guidance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions