You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2020. It is now read-only.
It seems that webpack does not generate the source maps when the the extension of the output file is .ts. Js files in the same project have source maps generated.
The text was updated successfully, but these errors were encountered:
I had the same issue, though after a lot of digging I finally got sourcemaps by adding the SourceMapDevToolPlugin plugin (https://webpack.js.org/plugins/source-map-dev-tool-plugin/) to my webpack configuration plus configuring *.ts to options.test of that plugin. Thus by specifying:
Is this a Feature or Bug?
Bug
Current behavior:
No source maps are generated for typescript files.
Desired behavior:
Source maps should be available for test files.
How to reproduce:
npm install
cd examples/preprocessors__typescript-webpack
debugger
incypress/integration/spec.ts
npx cypress open
spec.ts
Additional Info (images, stack traces, etc)
It seems that webpack does not generate the source maps when the the extension of the output file is
.ts
. Js files in the same project have source maps generated.The text was updated successfully, but these errors were encountered: