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
notice that when you try to load your application you see this error:
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 */
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.
How to recreate this:
flutter clean
flutter build web
npx http-server /<path-to-folder>/build/web --port=8000
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?