Open octogonz opened 4 years ago
This is currently by design, as source map generation is very expensive, and having multiple copies of .d.ts files, source maps, etc. massively bloats package sizes. This sounds more like a feature request to allow them this to be configurable.
Please prefix the issue title with the project name i.e. [rush], [api-extractor] etc.
Is this a feature or a bug?
Please describe the actual behavior.
Add a typescript.json config file that specifies
additionalModuleKindsToEmit
. For example:.heft/typescript.json
Also, configure copy-static-assets.json to copy .css files, for example:
.heft/copy-static-assets.json
What is the expected behavior?
The two output folders (my-project/lib and my-project/lib-commonjs) should both have .js.map files and copied .css files.
Instead, only my-project/lib has these files.
If this is a bug, please provide the tool version, Node.js version, and OS.
Tool: Heft version 0.3.1
CC @iclanton