Q&A (please complete the following information)
- OS: Windows
- Browser: NA
- Version: latest (
master branch)
- Method of installation: NA
- Swagger-UI version: latest (
master branch)
- Swagger/OpenAPI version: NA
Describe the bug you're encountering
The .map files provided in the dist/ folder seem to be invalid, based on sourcemap-validator
To reproduce...
Steps to reproduce the behavior:
- Install the
sourcemap-validate command:
npm install -g git+https://github.com/Lucas-C/sourcemap-validator.git
- Execute the following command in this repo:
sourcemap-validate dist/swagger-ui-bundle.js dist/swagger-ui-bundle.js.map
Expected behavior
Validation OK
Additional context or thoughts
Using sourcemap-validate I tested that the Validation OK message appears up to tag v3.3.0. Starting from tag v3.4.0 the error appears.
I found about this error in springfox/springfox#3114, because my Firefox browser could not load the sourcemaps correctly.
Based on the package-lock.json in this repo I cannot pinpoint exactly what version of webpack-sources it is using, but this error may be due to a nasty bug broke sourcemaps it generated before version 1.4.1
Q&A (please complete the following information)
masterbranch)masterbranch)Describe the bug you're encountering
The
.mapfiles provided in thedist/folder seem to be invalid, based on sourcemap-validatorTo reproduce...
Steps to reproduce the behavior:
sourcemap-validatecommand:npm install -g git+https://github.com/Lucas-C/sourcemap-validator.gitsourcemap-validate dist/swagger-ui-bundle.js dist/swagger-ui-bundle.js.mapExpected behavior
Validation OKAdditional context or thoughts
Using
sourcemap-validateI tested that theValidation OKmessage appears up to tagv3.3.0. Starting from tagv3.4.0the error appears.I found about this error in springfox/springfox#3114, because my Firefox browser could not load the sourcemaps correctly.
Based on the
package-lock.jsonin this repo I cannot pinpoint exactly what version ofwebpack-sourcesit is using, but this error may be due to a nasty bug broke sourcemaps it generated before version1.4.1