You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
For new samples, please provide a detailed explanation of the intended sample
It is very hard to get imports and compiling working seamlessly if you are building an app with 2 targets: primarily for the browser but can also be run headless in node(for testing). The combinatorics of number of TSC config options and ways to do imports/references/requires/exports/etc is huge.
How about a somewhat complex sample browser app that can also be run headless for testing purposes.
list of technologies or tools used
It should include 2 core TypeScript file, one small file for the browser only, and then 1 test script. It should have 1 external npm dependency that is used only when run in Node, and 1 external browser dependency only used in the browser (jquery or something like that).
It should not use webpack or any other bundler like that. Just TSC.
and an explanation of why existing samples are not sufficient and a new sample is needed.
See explanation above.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It is very hard to get imports and compiling working seamlessly if you are building an app with 2 targets: primarily for the browser but can also be run headless in node(for testing). The combinatorics of number of TSC config options and ways to do imports/references/requires/exports/etc is huge.
How about a somewhat complex sample browser app that can also be run headless for testing purposes.
It should include 2 core TypeScript file, one small file for the browser only, and then 1 test script. It should have 1 external npm dependency that is used only when run in Node, and 1 external browser dependency only used in the browser (jquery or something like that).
It should not use webpack or any other bundler like that. Just TSC.
See explanation above.
The text was updated successfully, but these errors were encountered: