BirjuVachhani / spider

A small dart library to generate Assets dart code from assets folder.
https://spider.birju.dev/
Apache License 2.0
190 stars 19 forks source link

Warnings for 2.0x and 3.0x directories. #13

Closed BirjuVachhani closed 4 years ago

BirjuVachhani commented 4 years ago

Spider build 0.3.5 doesn't distinguish between normal assets directories and flutter specific density assets directories like 2.0x and 3.0x. When we specify these directories in the configuration file, it generates assets as it is expected to be generated in normal cases. But in this case, it should not be produced at all.

A suggestion is to display warning or error in the terminal when the user tries to reference those directories.