Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 335 Bytes

File metadata and controls

12 lines (8 loc) · 335 Bytes

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 tsc has "sources":["../src/<file>.ts"]. If the source code is not distributed, tools such as webpack will emit a warning saying it cannot resolve the source file.