fluttercommunity / font_awesome_flutter

The Font Awesome Icon pack available as Flutter Icons
Other
834 stars 236 forks source link

[web] all.css file isn't imported correctly #177

Closed OmerGronich closed 2 years ago

OmerGronich commented 2 years ago

How to recreate this:

  1. flutter clean
  2. flutter build web
  3. serve the /build/web folder locally to see the app's production version, for this i'm using this command: npx http-server /<path-to-folder>/build/web --port=8000
  4. notice that when you try to load your application you see this error: image

The icons themselves are still visible, which makes me wonder is this line in styles.css file really necessary? @import url(/packages/font_awesome/css/all.css); /* font_awesome css file is imported here */

why is this css file needed?

michaelspiss commented 2 years ago

This is not a file from this package, but rather looks like one generated by flutter during the build process. I have no idea why it is requested - you may want to open an issue in the flutter repository.