angular-material-extensions / select-country

Angular Material component that allow users to select a country or nationality with an autocomplete feature
https://angular-material-extensions.github.io/select-country/
MIT License
126 stars 40 forks source link

Flag source in development mode #54

Closed e1ad closed 3 years ago

e1ad commented 3 years ago

Describe the bug Running development mode (ng serve) i getting the wrong source for the flags :

To Reproduce Steps to reproduce the behavior:

I follow the steps from 'https://www.npmjs.com/package/@angular-material-extensions/select-country#installation' to add the 'select-country' to my project.

this step :

Capture

is relevant only for production

Expected behavior i getting the wrong source for the flags

Screenshots Capture

Desktop (please complete the following information): Windows 10 PC with Chrome Browser

Additional context Add any other context about the problem here.

ChristoforosFa commented 3 years ago

i have the same problem.

alekw commented 3 years ago

Same for me.

AnthonyNahas commented 3 years ago

what is your baseUrl ?

alekw commented 3 years ago

in my tsconfig.json: "baseUrl": "./",

e1ad commented 3 years ago

For tsconfig.json "./" . Or if you are talking about Angular http baseUrl provider I do not use it.

adibenmati commented 3 years ago

same...

AnthonyNahas commented 3 years ago

try this


 {
                "glob": "**/*",
                "input": "./node_modules/svg-country-flags/svg",
                "output": "/assets/svg-country-flags/svg"
 }
`
``
e1ad commented 3 years ago

thanks ... works

AnthonyNahas commented 3 years ago

you are welcome