react-comments-section icon indicating copy to clipboard operation
react-comments-section copied to clipboard

@import end up in the middle of the bundled CSS

Open diegonc opened this issue 1 year ago • 1 comments

The bundled CSS in dist folder contains an @import statement in the middle of the file, while those should only appear before all other statements.

Vite produces the following message when building my project where I use this package:

[vite:css] @import must precede all other statements (besides @charset or empty @layer)
306|    width: 100%;
307|  }
308|  @import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');
   |   ^
309|  
310|  .overlay {

The code seems to work in spite of this "warning"

diegonc avatar Jan 31 '24 18:01 diegonc

Same here :(

realtica avatar Sep 18 '24 22:09 realtica