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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mcoulman opened this issue May 13, 2020 · 0 comments
Open

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

mcoulman opened this issue May 13, 2020 · 0 comments

Comments

@mcoulman
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant