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

WIP synchronous mapping #820

Closed

Commits on Feb 15, 2021

  1. WIP synchronous mapping

    This replaces asynchronous `source-map` with a synchronous mapping implementation using `sourcemap-codec`. According to the performance test there is no noticeable difference at file lenghts like these - `source-map` is better at really large files (thousands of lines), which is not the case for 99,9% of all Svelte files the user will edit with this. A further (according to tests not noticeable) performance improvment would be to return the decoded form of the source map from svelte2tsx (it used sourcemap-coded, too).
    
    The mapping implementation could also serve as a reference implementation for synchronous source mapping for TS plugin (sveltejs#580)
    Simon Holthausen committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    af0ef2d View commit details
    Browse the repository at this point in the history
  2. lint

    Simon Holthausen committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    867cb06 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into synchronous-source-mapping

    Simon Holthausen committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    fbfa314 View commit details
    Browse the repository at this point in the history