-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Output sourceMap by default on less-loader
We have checked if sourceMaps are needed on resolve-url-loader, and according to the source code of react-scripts, all preProcessor's options must be the same({sourceMap:true}), so directly expand sass-loader's options maybe a better choice. facebook/create-react-app@914c95e https://github.com/facebook/create-react-app/blob/v4.0.3/packages/react-scripts/config/webpack.config.js#L163 Signed-off-by: Chuck Fan <[email protected]>
- Loading branch information
Showing
2 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters