From 0f4f82fcb9bc01ccddd6abba51510bf2234574b1 Mon Sep 17 00:00:00 2001 From: Florian Dreier Date: Wed, 3 Nov 2021 18:17:24 +0100 Subject: [PATCH] Add source map of css file to swagger-ui-react Fixes source map of css file missing in swagger-ui-react. The source map is referenced in https://github.com/swagger-api/swagger-ui/blob/master/dist/swagger-ui.css#L4, 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