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
Describe the problem
The CodeSandbox examples include additional package dependencies via parsing import statements found in PatternFly examples. However, this inadvertently includes CSS imports as well. As a result, multiple CodeSandbox examples fail because a CSS file is not a valid package dependency.
Any other information?
Even after removing the extra dependency manually, the CSS file no longer loads as expected. CodeSandbox appears to be importing 'react-charts/src/victory/components/Sparkline/examples/./sparkline.css' instead of './sparkline.css'.
The text was updated successfully, but these errors were encountered:
dlabrecq
changed the title
Bug - CodeSandbox - Multiple examples fail because package.json includes CSS files as a dependency
Bug - CodeSandbox - examples fail because package.json includes CSS file as a dependency
Jan 22, 2025
dlabrecq
changed the title
Bug - CodeSandbox - examples fail because package.json includes CSS file as a dependency
Bug - CodeSandbox - examples fail because package.json includes CSS dependency
Jan 22, 2025
Describe the problem
The CodeSandbox examples include additional package dependencies via parsing
import
statements found in PatternFly examples. However, this inadvertently includes CSS imports as well. As a result, multiple CodeSandbox examples fail because a CSS file is not a valid package dependency.How do you reproduce the problem?
"react-charts/src/victory/components/Sparkline/examples/./sparkline.css": "latest",
Expected behavior
This regex statement in documentation-framework should omit CSS files from the CodeSandbox dependencies
Screenshots
Sparkline examples
http://localhost:8002/charts/sparkline-chart
Any other information?
Even after removing the extra dependency manually, the CSS file no longer loads as expected. CodeSandbox appears to be importing 'react-charts/src/victory/components/Sparkline/examples/./sparkline.css' instead of './sparkline.css'.
The text was updated successfully, but these errors were encountered: