fix: add source map of css file to swagger-ui-react (#7601)

Fixes source map of css file missing in swagger-ui-react.
The source map is referenced in ./dist/swagger-ui.css,
but as it does not exist in the final package creates errors in our tooling.
This commit is contained in:
Florian Dreier
2021-11-05 16:11:56 +01:00
committed by GitHub
parent 23d2153be4
commit 83021df9b0

View File

@@ -12,6 +12,7 @@ mkdir -p ../dist
cp ../../../dist/swagger-ui.js ../dist
cp ../../../dist/swagger-ui-es-bundle.js ../dist
cp ../../../dist/swagger-ui.css ../dist
cp ../../../dist/swagger-ui.css.map ../dist
# Create a releasable package manifest
node create-manifest.js > ../dist/package.json