This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
Source maps for included modules? #134
Open
Description
I am developing a module to be used with react, and I've bootstrapped my example project with react-scripts-ts
.
I found that in order to source map the referenced module from the example, currently I can't help but ejecting the project, since the source maps target is hardwired to be the source directory of the project only (https://github.com/wmonk/create-react-app-typescript/blob/master/packages/react-scripts/config/webpack.config.dev.js#L151). That may suit for the most cases, but there are cases where it would be more beneficial to have source maps from node modules ready at hand for debugging purpose.
Would it make sense to provide a way to customize what gets to have source map loaded?
Metadata
Metadata
Assignees
Labels
No labels