-
-
Notifications
You must be signed in to change notification settings - Fork 150
cannot mark breakpoints in chrome within the bundled script #248
Comments
Same problem here, Chrome pauses on
... instead of the actual breakpoint. There's no way to step-into code that I wrote. Edit: fixed with a rollback to [email protected] This issue seems to be related to whatever is causing #238 |
thanks. |
4.4.0 is not well yet |
it caused by the code in "load" hook:
|
I think, there's some bug in rollup source-map merging. vue file source-map and merged output source-map |
Is it possible to get an update on this issue, as the previous working version is over 2 years old? Or, maybe more helpfully, an ideal example of a rollup-plugin-vue configuration for the (removed my previous comment as it stated incorrectly that this issue was not present on v4.7.2) |
Why is this labeled as "enhancement"? It's clearly a bug. |
I updated the test case with the latest version of each dependency issue-rollup-plugin-vue-5.1.9.zip. It is still reproducing.
I also face the error I started to debug but I can't figure out the root problem. Can someone give some pointers maybe? } else if (
traced.source.content != null &&
sourcesContent[sourceIndex] !== traced.source.content
) {
return error({
message: `Multiple conflicting contents for sourcemap source ${traced.source.filename}`
});
} Update: Well, the solution was in the error the message 😅 Sourcemaps are generated separately for template + style + script but the It fixes my simple "rollup -c -w" case. |
app.vue
index.js
index.html
rollup.config.js
packages version
rollup: 0.67.4
rollup-plugin-vue: 4.3.2
vue-template-compiler: 2.5.19
vue: 2.5.19
The text was updated successfully, but these errors were encountered: