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

Generate JS and CSS source maps #2154

Merged
merged 1 commit into from
May 8, 2024

Conversation

williamjallen
Copy link
Collaborator

We currently minify our JS, which makes it very difficult to debug. As we move towards a more JS-focused web app approach, this will gradually become a nuisance. Source maps are the typical solution to this problem, and Mix supports automatic source map generation.

To test this, simply cause an error on any Vue page and observe the original source code rendered by your browser.

@williamjallen williamjallen added this to the v3.5 milestone Apr 28, 2024
Copy link
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Errors are much better described now
image

@williamjallen williamjallen added this pull request to the merge queue May 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 8, 2024
@williamjallen williamjallen added this pull request to the merge queue May 8, 2024
Merged via the queue into Kitware:master with commit 0beaf61 May 8, 2024
6 checks passed
@williamjallen williamjallen deleted the source-maps branch May 8, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants