swagger-api / swagger-api/swagger-ui

after removing the .map file

Open
#10,635 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

Q&A (please complete the following information)
  • Swagger-UI version: [5.24.0-latest]
Describe the bug you're encountering

The browser will crawl the .map file by default, but versions from 5.24.0 to the latest one have not included the map file in the package (PS: Although it does not affect the use of Swagger, when used with certain frameworks, it will prompt ResourceNotFound). In order to reduce the package size, it affects user usage

https://github.com/swagger-api/swagger-ui/pull/10329

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the package and build configuration related to source-map files, then read pull request #10329 for the existing context. Confirm whether the published package should include the .map file and verify that the chosen behavior no longer causes ResourceNotFound in frameworks that request it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.