From 83021df9b0f7cf86c9a8606a669d6e69ad80729b Mon Sep 17 00:00:00 2001 From: Florian Dreier Date: Fri, 5 Nov 2021 16:11:56 +0100 Subject: [PATCH] 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. --- flavors/swagger-ui-react/release/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/flavors/swagger-ui-react/release/run.sh b/flavors/swagger-ui-react/release/run.sh index e64d0dd5ff1..2db5a0a4033 100755 --- a/flavors/swagger-ui-react/release/run.sh +++ b/flavors/swagger-ui-react/release/run.sh @@ -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