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

fix: handle non-existing files in sourcemap #4328

Closed
wants to merge 2 commits into from

Commits on Jul 20, 2021

  1. fix: handle non-existing files in sourcemap

    If a source map contains a file in `source` section without uploading the referenced file, Vite will complain about ENOENT.
    This fix makes Vite more lenient with npm ecosystem's misdemeanor.
    HerringtonDarkholme committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    370e20d View commit details
    Browse the repository at this point in the history
  2. fix: add more context to the emitted source map

    Instead of emitting error, forging a source file with a comment as hint.
    HerringtonDarkholme committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    9ffb73e View commit details
    Browse the repository at this point in the history