Skip to content
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 source map generated with Sprockets 4 #51

Open
GCorbel opened this issue Dec 2, 2020 · 0 comments
Open

Incorrect source map generated with Sprockets 4 #51

GCorbel opened this issue Dec 2, 2020 · 0 comments

Comments

@GCorbel
Copy link

GCorbel commented Dec 2, 2020

In a project, I use Rails 5.2, Sprockets 4 and vuejs-rails 2.5.13. On Firefox, I have the warning "Section offsets must be ordered and non-overlapping." and source map isn't read by FF.

I was able to reproduce the issue with :

<%= require_asset 'dist/vue.js' %>

This seems to work :

<%= Rails.application.assets.find_asset('dist/vue.js').source.html_safe %>

Subquestion : Is it still useful to have the minified version of Vue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant