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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user