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

Note on source maps #10

Open
2 tasks
shreshthmohan opened this issue Mar 14, 2022 · 0 comments
Open
2 tasks

Note on source maps #10

shreshthmohan opened this issue Mar 14, 2022 · 0 comments

Comments

@shreshthmohan
Copy link
Owner

shreshthmohan commented Mar 14, 2022

Source maps aren't downloaded on the user's browser until the dev tools are opened.

  • But there could be (minor) perf cost because there must be some extra stuff in the CSS (or JS file) that points to the correct source, no? So the bundled file would be larger, right?
  • Yes, but mostly the bundle will have only a few lines (one per source file?), so not a real perf cost. Still check exactly what it is.
@shreshthmohan shreshthmohan added the draft A blog post that is a draft label Mar 14, 2022
@shreshthmohan shreshthmohan added status:published and removed draft A blog post that is a draft labels Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant