Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Webpack bug #7

Open
bzaruk opened this issue Jan 20, 2018 · 3 comments
Open

Webpack bug #7

bzaruk opened this issue Jan 20, 2018 · 3 comments

Comments

@bzaruk
Copy link

bzaruk commented Jan 20, 2018

I am using nativescript-fonticon plugin and it all works just fine until I run with the webpack flags (tns run android --bundle --env.uglify --env.aot --env.snapshot).
and when I do it I don't see any icon, fir example this: <Label class="fa absolute-center action-icon" [text]="'fa-calendar-o' | fonticon"></Label>
And if I run it without those flags, only tns run android it works just fine again

any idea what can solved the problem? 🙂

@bastianjoel
Copy link
Contributor

Maybe also related to #8

@Burgov
Copy link

Burgov commented Jul 2, 2018

This used to work fine for me, but now I've upgraded to NS4.1, and the icons are gone when using --bundle. Unrelated to #8.

@Burgov
Copy link

Burgov commented Jul 2, 2018

Just realized that in the update i forgot to fix the webpack config. The css containing the fontawesome folder wasn't copied over. Changed it, and now it works again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants