-
-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(loader): source map sources
and file
paths
#602
fix(loader): source map sources
and file
paths
#602
Conversation
…ns.file` and `options.outFile` (outFile does not cause anything to be be written to the file system.) Signed-off-by: Nick Petruzzelli <code.npetruzzelli@gmail.com>
…ult out of sensitivity to existing scripts that may expect this behavior. Signed-off-by: Nick Petruzzelli <code.npetruzzelli@gmail.com>
See also: webpack-contrib/css-loader#753 |
I'm seeing some build errors that I did not experience locally. I'll have to look have another look. |
Signed-off-by: Nick Petruzzelli <code.npetruzzelli@gmail.com>
… map. Signed-off-by: Nick Petruzzelli <code.npetruzzelli@gmail.com>
Looks like:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No new option, please provide minimum reproducible test repo, we should fix it without new options
Also you PR is breaking change, we can't accept this |
Signed-off-by: Nick Petruzzelli <code.npetruzzelli@gmail.com>
@evilebottnawi - I've removed the option part of it. I still need to update the test suite and create a test repo. It may take me some time to get to it. I'll comment again once it is all in place. You may see commits trickle in in the mean time. I believe concerns about it being a breaking change may be addressed by then, if not, I may have more questions at that time. |
… pass. Signed-off-by: Nick Petruzzelli <code.npetruzzelli@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #602 +/- ##
==========================================
- Coverage 97.81% 97.67% -0.14%
==========================================
Files 6 6
Lines 137 129 -8
==========================================
- Hits 134 126 -8
Misses 3 3
Continue to review full report at Codecov.
|
sources
and file
sources
and file
paths
sources
and file
pathssources
and file
paths
Codecov Report
@@ Coverage Diff @@
## master #602 +/- ##
==========================================
- Coverage 97.79% 97.67% -0.12%
==========================================
Files 6 6
Lines 136 129 -7
==========================================
- Hits 133 126 -7
Misses 3 3
Continue to review full report at Codecov.
|
Close due inactivity, if you still have problem please open issue, sorry for delay |
sources
andfile
to be URLs that are relative to the file containing the map.legacySourceMaps
option tofalse
. Making this fix the default behavior would be a breaking change requiring a new major version.Side note:
npm run test-source-map
throws an error when using webpack 4.5+. I needed to install webpack 3.x for it to run correctly.This contributes to the fixes for