I want to remove a font from my project. It is copied into
./fonts/MaterialCommunityIcons.ttf in the web build. I installed it maybe with
npm install @types/react-native-vector-icons or only
npm install react-native-vector-icons. Since then there appears this font in my web build and I don’t know how to remove it, because I don’t need it.
If I run
expo build:web there is a warning that says
asset size limit: The following asset(s) exceed the recommended size limit (586 KiB).
This can impact web performance.
./fonts/MaterialCommunityIcons.ttf (665 KiB)
static/js/2.5795d587.chunk.js (713 KiB)
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (586 KiB). This can impact web performance.
app (731 KiB)
webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/