Skip to content

Commit 83021df

Browse files
authored
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.
1 parent 23d2153 commit 83021df

File tree

1 file changed

+1
-0
lines changed
  • flavors/swagger-ui-react/release

1 file changed

+1
-0
lines changed

flavors/swagger-ui-react/release/run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ mkdir -p ../dist
1212
cp ../../../dist/swagger-ui.js ../dist
1313
cp ../../../dist/swagger-ui-es-bundle.js ../dist
1414
cp ../../../dist/swagger-ui.css ../dist
15+
cp ../../../dist/swagger-ui.css.map ../dist
1516

1617
# Create a releasable package manifest
1718
node create-manifest.js > ../dist/package.json

0 commit comments

Comments
 (0)