package.json
files
If you do not use the inlineSources compiler options,
add your source folder into the files array.
Why? The source map generated by
tschas"sources":["../src/<file>.ts"]. If the source code is not distributed, tools such aswebpackwill emit a warning saying it cannot resolve the source file.