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: Solve 'conflicting contents for sourcemap' rollup issue #619
fix: Solve 'conflicting contents for sourcemap' rollup issue #619
Conversation
I'm not entirely sure if this is the real fix that we're looking for, since in downgrading to 4.2.0 we would be missing out on a bunch of important bugfixes... Ideally a fix would come in the form of a fork + PR to their project, really fixing the issue. It's difficult for me to review this also, because I would need to go through and evaluate the costs of giving up all of the bug fixes, as well as the downgraded Vue compiler. Also, I have a vague memory of having to upgrade |
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.
I'm afraid I can't accept a fix that downgrades the vue compiler and re-introduces known bugs.
I also explored more the tools behind this #583 and couldn't find a working solution. I saw the history and I didn't saw any bug fix as important as the ability to have an efficient hot-reload system with source maps working. This is one of the dev features I use the most when developing and if it doesn't work properly it's really annoying :/ |
Well, AFAIK it sounds like downgrading to 4.2.0 doesn't fix the sourcemaps? So if you don't want to dive into the details of how the rollup plugin works, you can disable sourcemaps if it really annoys you per the Troubleshooting docs. |
For now, closing this in favor of the |
Yes it does, I tested it |
AFAICT from their release notes, 4.2.0 doesn't support sourcemaps, so it's the same as disabling them. Sourcemaps were introduced in 4.3.0. |
Hmm. OK. Well then. I'm not sure what's going on, not an expert on sourcemaps. But maybe someone who is will fix these issues! 😄 |
So... can we downgrade to 4.2.0 for now since I find it more important than all the other minor bug fixes? Unless there's something really critical fixed on 5.x. But so far you didn't point anything, so that's why I think it's worth the trade-off. |
The major update to the compiler seems like something we need, I don't consider it a worthwhile tradeoff to be using an outdated Vue.js compiler... |
Okay then, let's keep it as it is. In the future, I'll try again to fix this evil issue |
Solves #618.
After a quick search, it seems the problem is on
rollup-plugin-vue
that was reported on version 4.7.0.A couple of months ago we updated most of our dependencies, including
rollup-plugin-vue
to v5.0.0. #574The only fix I've found is to rollback it back to 4.2.0. Based on their release history, it seems they added a feature related to sourcemaps at v4.3.0 which might be the root of the problem.
I've tried to change several files around the project and didn't have the issue anymore 🎉