tscc
tscc copied to clipboard
Produce a warning when it tries to transpile non-modules
There have been several reported compilation errors caused by feeding "script"s, a recent one being https://github.com/theseanl/tscc/issues/380. It'd be helpful for debugging to print some warnings about usage of non-modules with its file name instead of being left with some obscure error messages from closure compiler.