You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The postcss project recently added some extra CSS source map checks (to look for broken source maps) and the source map that is distributed with swagger-ui-react is evidently broken. When loading the stylesheet with the latest postcss, this warning appears:
VITE v4.5.0 ready in 2298 ms
➜ Local: http://localhost:3001/
➜ Network: use --host to expose
➜ press h to show help
original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.
To reproduce...
Steps to reproduce the behavior:
Have a webapp built with Vite and postcss (we use LESS) and swagger-ui-react
Import the stylesheet: @import 'swagger-ui-react/swagger-ui.css';
Start Vite
Expected behavior
No warnings.
Additional information
For more information and a long discussion about this issue, see postcss/postcss#1914
The text was updated successfully, but these errors were encountered:
Q&A (please complete the following information)
Describe the bug you're encountering
The
postcss
project recently added some extra CSS source map checks (to look for broken source maps) and the source map that is distributed with swagger-ui-react is evidently broken. When loading the stylesheet with the latestpostcss
, this warning appears:To reproduce...
Steps to reproduce the behavior:
@import 'swagger-ui-react/swagger-ui.css';
Expected behavior
No warnings.
Additional information
For more information and a long discussion about this issue, see postcss/postcss#1914
The text was updated successfully, but these errors were encountered: