Skip to content

Commit

Permalink
fix: add source map of css file to swagger-ui-react (#7601)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DreierF committed Nov 5, 2021
1 parent 23d2153 commit 83021df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flavors/swagger-ui-react/release/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83021df

Please sign in to comment.