From 62a25af707cb5bf244c69edba26c8d80c590993a Mon Sep 17 00:00:00 2001 From: Xavier Fournet <461943+xfournet@users.noreply.github.com> Date: Wed, 22 Dec 2021 15:23:15 +0100 Subject: [PATCH] Add source map of js files to swagger-ui-react --- flavors/swagger-ui-react/release/run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flavors/swagger-ui-react/release/run.sh b/flavors/swagger-ui-react/release/run.sh index 2db5a0a4033..8d5e12b713e 100755 --- a/flavors/swagger-ui-react/release/run.sh +++ b/flavors/swagger-ui-react/release/run.sh @@ -10,7 +10,9 @@ mkdir -p ../dist # Copy UI's dist files to our directory cp ../../../dist/swagger-ui.js ../dist +cp ../../../dist/swagger-ui.js.map ../dist cp ../../../dist/swagger-ui-es-bundle.js ../dist +cp ../../../dist/swagger-ui-es-bundle.js.map ../dist cp ../../../dist/swagger-ui.css ../dist cp ../../../dist/swagger-ui.css.map ../dist