Source Tree hides files with similar names
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(firefox80 fixed)
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: Harald, Assigned: loganfsmyth)
References
(Blocks 2 open bugs)
Details
Attachments
(4 files)
What were you doing?
- Open a vue project like https://h160t.csb.app/
- Open
App.vue
via Search or Source Tree
What happened?
App.vue
shows up only mapped
in source tree, while search shows many more results.
What should have happened?
Complete list in Source Tree and better indicators in Search on which file is source-mapped.
Reporter | ||
Comment 2•5 years ago
•
|
||
https://vue-vuex-realworld.netlify.app/ is another great example of this.
If you want to open the Home
component, webpack:///src/views/Home.vue?493c
gets shown by default in the Source Tree while webpack:///src/views/Home.vue
is the vue file a developer would want to see. webpack:///src/views/Home.vue?f01b
is also in search, but only contains the compiled vue template. I guess either the last or first entry that comes in wins and replaces all others.
The source map seems to have issues, but I can't tell for sure how severe they are: https://sourcemaps.io/report/1591048717188_https%3A%2F%2Fvue-vuex-realworld.netlify.app%2Fjs%2Fapp.7ca7b6fc.js
Reporter | ||
Comment 3•5 years ago
|
||
More debugging – I opened webpack:///src/components/ArticleMeta.vue
on https://vue-vuex-realworld.netlify.app/
(via pausing on click). The Source Tree does not highlight the file in the tree on open and Reveal in tree
also doesn't work when used on the tab.
Updated•5 years ago
|
Reporter | ||
Comment 4•5 years ago
|
||
Confirmed that this is the issue affecting most vue.js setups: https://github.com/webpack/webpack/issues/1194#issuecomment-638401263
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D81266
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D81267
Comment 9•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b240470c554b
https://hg.mozilla.org/mozilla-central/rev/fa25bc61d997
https://hg.mozilla.org/mozilla-central/rev/c00459529ec8
Description
•