Closed LeoDog896 closed 1 year ago
Hi @LeoDog896
Thank you for bringing this issue to our attention. We're glad to hear that we were able to resolve the issue by changing the CSS import from the TSX file to .css. We appreciate your patience and understanding as we worked to resolve this issue. Please find the sample and CSS reference attachment in below
Sample: parcel-spreadsheet.zip
hi @Mydeensn ,
this is a workaround which indeed works. However, there's still a bug when importing these CSS from TSX file.
When will you include the sideEffects
as @LeoDog896 suggested?
Hi All,
We have considered this as a bug at our end and we will plan to include this fix in any of our upcoming releases. You can the track the status of this fix in the below feedback link.
Feedback Link: https://www.syncfusion.com/feedback/41355/need-to-solve-the-issue-on-importing-css-from-tsx-file-in-parcel-framework-using
Closing for housekeeping purposes. Further, the reported bug can be tracked through below feedback link, https://www.syncfusion.com/feedback/41355/need-to-solve-the-issue-on-importing-css-from-tsx-file-in-parcel-framework-using
(From this StackOverflow post):
Parcel requires explicit declaration of files that have side effects, including CSS: