Closed brian-mann closed 4 years ago
Feature
When using ts-loader users must set sourceMap: true in their tsconfig.json for source maps to be generated.
ts-loader
sourceMap: true
tsconfig.json
Force typescript to always generate sourcemaps which respect webpack's devtool option.
devtool
If devtool: false has been set, then do not generate sourcemaps.
devtool: false
:tada: This issue has been resolved in version 5.4.0 :tada:
The release is available on:
npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:
Is this a Feature or Bug?
Feature
Current behavior:
When using
ts-loader
users must setsourceMap: true
in theirtsconfig.json
for source maps to be generated.Desired behavior:
Force typescript to always generate sourcemaps which respect webpack's
devtool
option.If
devtool: false
has been set, then do not generate sourcemaps.