-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Incorrect sourceMappingURL path #146
Comments
Expected, you need to use |
@alexander-akait I'm expecting to need sourceMapPathOverrides. There should be no need for the second mapping though. I'm fairly certain there is an issue here. |
hm, I will look at this in near future, we don't override original source maps, so maybe you have broken |
The Without
|
To be honestly it is expected, you try to load files outside |
I hear what you are saying about this being expected. Do you think this is still a bug? I believe there will be many more users who need to resolve source maps this way as webpack 5 adoption grows. Can you point me at which lines of code may cause this behavior? |
There is nothing specified, we just resolve |
Attempting to reference a related issue: webpack/webpack#3603 |
So 2 years have passed and this bug has not been fixed ? |
@paynecodes You can always send a PR |
my bad... should first check if the sourcemap file for example, the source file {
"version": 3,
"file": "index.js",
"names": [
"..."
],
"sources": [
"index.ts"
],
"sourcesContent": ["..."],
"mappings": "..."
} the |
Expected Behavior
Breakpoint should be bound in vscode debugger without
sourceMapPathOverrides
hacks.Actual Behavior
Breakpoint is not bound.
Code
How Do We Reproduce?
Clone and install
yarn install
Start the app
yarn dev
from the rootDebug the app in vscode
Launch Chrome
debug configuration in vscodelibs/ui/src/Box.tsx
launch.json
hack where I map a single../
to what it should be,../../
. Comment out line 16 or launch.json and restart the debugger to reproduce the problem.The text was updated successfully, but these errors were encountered: